1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-30 14:09:42 -05:00
forgejo/web_src/css
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
..
chroma [Port] gitea#30014: Various code view improvements 2024-03-28 16:43:14 +01:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Clean up diff header css and reduce global textarea min-height (#29232) 2024-02-19 22:58:33 +01:00
features Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-30 07:17:31 +01:00
markup [PORT] gitea#30282: Markup color and font size fixes 2024-04-07 19:53:55 +00:00
modules Reduce checkbox size to 15px (#30346) (#30347) 2024-04-15 16:22:17 +02:00
repo Remove fomantic checkbox module (#30162) (#30168) 2024-04-08 11:28:31 +02:00
shared Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Action view mobile improvements and fixes (#30309) (#30320) 2024-04-15 16:13:18 +02:00
actions.css Action view mobile improvements and fixes (#30309) (#30320) 2024-04-15 16:13:18 +02:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Fix line height on inline code preview (#30372) (#30385) 2024-04-15 16:32:19 +02:00
dashboard.css Remove fomantic label module (#30081) 2024-03-30 07:17:31 +01:00
explore.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix checkboxes on mobile view, remove some dead css (#30308) (#30319) 2024-04-15 16:12:52 +02:00
helpers.css Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
home.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
index.css Remove fomantic checkbox module (#30162) (#30168) 2024-04-08 11:28:31 +02:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Remove fomantic checkbox module (#30162) (#30168) 2024-04-08 11:28:31 +02:00
repo.css Add gap to commit status details (#30284) (#30290) 2024-04-08 11:51:51 +02:00
review.css Fix: The interface is broken when modifying code comments under mobile devices (#30125) 2024-03-30 07:17:31 +01:00
user.css [v7.0/forgejo] Add optional pronoun field in user settings (#3076) 2024-04-06 13:23:43 +00:00