1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/web_src/css
silverwind 39fce5750d
Prevent SVG shrinking (#25652) (#25669)
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 (#24827) 2023-05-21 23:37:32 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) (#25332) 2023-06-18 09:35:40 +02:00
editor Rework button coloring, add focus and active colors (#24507) 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 (#24827) 2023-05-21 23:37:32 +00:00
markup Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
modules Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
repo Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
shared Various UI fixes (#25264) (#25431) 2023-06-22 10:19:38 +00:00
standalone Add dark mode to API Docs (#24971) 2023-05-28 21:37:34 +00:00
themes Minor arc-green color tweaks (#25175) (#25205) 2023-06-12 13:56:59 +02:00
actions.css Reorganize CSS files (#24739) 2023-05-16 00:13:30 -04:00
admin.css Fix admin-dl-horizontal (#25512) (#25535) 2023-06-27 17:06:36 +00:00
base.css Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
dashboard.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
explore.css Improve notification icon and navbar (#25111) (#25124) 2023-06-08 10:19:13 +00:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
helpers.css Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
home.css Align language menu icon and fit the footer area (#25556) (#25563) 2023-06-28 11:51:24 -04:00
index.css Prevent SVG shrinking (#25652) (#25669) 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 (#24827) 2023-05-21 23:37:32 +00:00
org.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
repo.css Fix UI misalignment on user setting page (#25629) (#25656) 2023-07-03 21:16:58 +00:00
review.css Diff page enhancements (#25398) (#25437) 2023-06-22 14:33:13 +02:00
user.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00