Skip to content
Snippets Groups Projects
Commit 9e7b2e6f authored by rhenck's avatar rhenck
Browse files

Fix sub- and superscript to not affect line height

parent 324c9205
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,8 @@ import { LikertRadioButtonGroupComponent } from '../likert/likert-radio-button-g
'p {margin: 0}',
':host ::ng-deep p strong {letter-spacing: 0.04em; font-weight: 600;}', // bold less bold
':host ::ng-deep p:empty::after {content: "\\00A0"}', // render empty p
'p span {font-size: inherit}'
'p span {font-size: inherit}',
'sup, sub {line-height: 0;}'
]
})
export class ClozeComponent extends CompoundElementComponent {
......
......@@ -48,7 +48,8 @@ import { ValueChangeElement } from '../../models/uI-element';
'::ng-deep .text-container h2 {font-weight: bold; font-size: 18px;}',
'::ng-deep .text-container h3 {font-weight: bold; font-size: 16px;}',
'::ng-deep .text-container h4 {font-weight: normal; font-size: 16px;}',
':host ::ng-deep mark {color: inherit}'
':host ::ng-deep mark {color: inherit}',
'sup, sub {line-height: 0;}'
]
})
export class TextComponent extends ElementComponent {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment