1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00
phorge-phorge/webroot/rsrc/css/core
Benjamin Kausch f8db94f2bf Add flexible line height to remarkup headers
Summary:
The text in remarkup has a fixed line height. The headers will have the same fixed line height, even if their font size can be bigger than this line height. Especially on mobile this results in ugly sticked together lines which are less readable.

This revision will give the header a flexible line height of `1.3`. Unitless means relative to the font size.

| Before    | After     |
|-----------|-----------|
| {F717418} | {F717419} |

(I have moved the same margin attribute for every `h{2-6}` into the new declaration.)

Close T15716.

Test Plan: Just checkout and look in wiki articles with headers to see if everything looks nice and neat.

Reviewers: O1 Blessed Committers, 20after4

Reviewed By: O1 Blessed Committers, 20after4

Subscribers: 20after4, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15716

Differential Revision: https://we.phorge.it/D25523
2024-01-28 12:45:04 +01:00
..
core.css Replacing the deprecated -moz-outline-style with outline-style 2023-10-13 10:47:12 +02:00
remarkup.css Add flexible line height to remarkup headers 2024-01-28 12:45:04 +01:00
syntax.css Revert use of "user-select: all" to modify tab selection behavior 2020-07-24 13:41:26 -07:00
z-index.css Use a more consistent inline highlighting style with fewer redraws 2020-05-15 12:44:40 -07:00