Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verona-modules-aspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IQB
verona-modules-aspect
Commits
9e7b2e6f
Commit
9e7b2e6f
authored
3 years ago
by
rhenck
Browse files
Options
Downloads
Patches
Plain Diff
Fix sub- and superscript to not affect line height
parent
324c9205
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/common/ui-elements/cloze/cloze.component.ts
+2
-1
2 additions, 1 deletion
projects/common/ui-elements/cloze/cloze.component.ts
projects/common/ui-elements/text/text.component.ts
+2
-1
2 additions, 1 deletion
projects/common/ui-elements/text/text.component.ts
with
4 additions
and
2 deletions
projects/common/ui-elements/cloze/cloze.component.ts
+
2
−
1
View file @
9e7b2e6f
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
projects/common/ui-elements/text/text.component.ts
+
2
−
1
View file @
9e7b2e6f
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment