forgejo/web_src/css
silverwind 39fce5750d
Prevent SVG shrinking () ()
Backport https://github.com/go-gitea/gitea/pull/25652

This will prevent the most common cases of SVG shrinking because lack of
space. I evaluated multiple options and this seems to be the one with
the least impact in size and processing cost, so I went with it.

Unfortunately, CSS can not dynamically convert `16` obtained from
`attr()` to `16px`, or else a generic solution for all sizes would have
been possible. But a solution is [in

sight](https://developer.mozilla.org/en-US/docs/Web/CSS/attr#type-or-unit)
with `attr(width px)` but no browser supports it currently.
2023-07-04 10:03:03 +00:00
..
chroma Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables () 2023-05-21 23:37:32 +00:00
codemirror Remove EasyMDE focus outline on text () () 2023-06-18 09:35:40 +02:00
editor Rework button coloring, add focus and active colors () 2023-05-29 12:45:22 +00:00
features Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables () 2023-05-21 23:37:32 +00:00
markup Improve wiki sidebar and TOC () () 2023-06-24 10:16:15 +08:00
modules Prevent SVG shrinking () () 2023-07-04 10:03:03 +00:00
repo Improve wiki sidebar and TOC () () 2023-06-24 10:16:15 +08:00
shared Various UI fixes () () 2023-06-22 10:19:38 +00:00
standalone Add dark mode to API Docs () 2023-05-28 21:37:34 +00:00
themes Minor arc-green color tweaks () () 2023-06-12 13:56:59 +02:00
actions.css Reorganize CSS files () 2023-05-16 00:13:30 -04:00
admin.css Fix admin-dl-horizontal () () 2023-06-27 17:06:36 +00:00
base.css Prevent SVG shrinking () () 2023-07-04 10:03:03 +00:00
dashboard.css Fix mobile navbar and misc cleanups () () 2023-06-11 09:50:39 +08:00
explore.css Improve notification icon and navbar () () 2023-06-08 10:19:13 +00:00
font_i18n.css Fix @font-face overrides () 2023-05-24 01:48:51 +00:00
form.css Fix mobile navbar and misc cleanups () () 2023-06-11 09:50:39 +08:00
helpers.css Improve wiki sidebar and TOC () () 2023-06-24 10:16:15 +08:00
home.css Align language menu icon and fit the footer area () () 2023-06-28 11:51:24 -04:00
index.css Prevent SVG shrinking () () 2023-07-04 10:03:03 +00:00
install.css Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables () 2023-05-21 23:37:32 +00:00
org.css Fix mobile navbar and misc cleanups () () 2023-06-11 09:50:39 +08:00
repo.css Fix UI misalignment on user setting page () () 2023-07-03 21:16:58 +00:00
review.css Diff page enhancements () () 2023-06-22 14:33:13 +02:00
user.css Fix mobile navbar and misc cleanups () () 2023-06-11 09:50:39 +08:00