Use unitless numbers for line-height values
Using <length> type values for line-height can give unexpected inheritance behaviors. If using <length> values, the inherited line-height on children is calculated using the font-size of the parent. What we want is for the line-height of children to be calculated using it's own font-size. By instead using a unitless number, we get the behavior we want. Note that this bug has no effects right now since no children to any of the related elements have different font-sizes.
This commit is contained in:
parent
4558104196
commit
8decca7353
|
@ -661,7 +661,7 @@ html {
|
|||
justify-content: center;
|
||||
align-content: center;
|
||||
|
||||
line-height: 25px;
|
||||
line-height: 1.6;
|
||||
word-wrap: break-word;
|
||||
color: #fff;
|
||||
|
||||
|
@ -887,7 +887,7 @@ html {
|
|||
.noVNC_logo {
|
||||
color:yellow;
|
||||
font-family: 'Orbitron', 'OrbitronTTF', sans-serif;
|
||||
line-height:90%;
|
||||
line-height: 0.9;
|
||||
text-shadow: 0.1em 0.1em 0 black;
|
||||
}
|
||||
.noVNC_logo span{
|
||||
|
|
Loading…
Reference in New Issue