mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 09:13:14 +10:00
Desktop font - padding rule: top = (line-height - font-size) / 2, bottom = 8px - top
This commit is contained in:
parent
2dec585257
commit
a73ad52d6c
1 changed files with 3 additions and 3 deletions
|
|
@ -144,7 +144,7 @@ h5,
|
|||
|
||||
@media (--desktopViewport) {
|
||||
line-height: 16px;
|
||||
padding: 7px 0 1px; /* 7px + 1px = 8px */
|
||||
padding: 1px 0 7px; /* 1px + 7px = 8px */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ h6,
|
|||
|
||||
@media (--desktopViewport) {
|
||||
line-height: 16px;
|
||||
padding: 6px 0 2px; /* 6px + 2px = 8px */
|
||||
padding: 2px 0 6px; /* 2px + 6px = 8px */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ li,
|
|||
@media (--desktopViewport) {
|
||||
font-size: 20px;
|
||||
line-height: 32px;
|
||||
padding: 5px 0 3px; /* 5px + 3px = 8px */
|
||||
padding: 6px 0 2px; /* 6px + 2px = 8px */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue