1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00
forgejo/web_src
Giteabot 01129b593f
Fix line height on inline code preview (#30372) (#30385)
Backport #30372 by @silverwind

Fixes https://github.com/go-gitea/gitea/issues/30353.

I don't know what causes `code-inner` to not inherit `line-height` from
its direct parent `.lines-code` but instead from grandparent `.markup`
even thought MDN tells me it's
[inherited](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#formal_definition).
This causes no negative impact on other code views, so I think it's the
best solution.

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 88b3d192a0663bd5f25ffa07af45179bac755150)
2024-04-15 16:32:19 +02:00
..
css Fix line height on inline code preview (#30372) (#30385) 2024-04-15 16:32:19 +02:00
fomantic Remove fomantic checkbox module (#30162) (#30168) 2024-04-08 11:28:31 +02:00
js Action view mobile improvements and fixes (#30309) (#30320) 2024-04-15 16:13:18 +02:00
svg Customizable "Open with" applications for repository clone (#29320) 2024-03-23 11:58:54 +01:00