Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00
forgejo/web_src/css/modules
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
..
animations.css Add PDF rendering via PDFObject (#24086) 2023-05-29 12:10:00 +00:00
breadcrumb.css Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
button.css Fix dropdown icon layout on diff page (#25397) (#25403) 2023-06-21 10:55:11 +08:00
card.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
comment.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
modal.css Move Rename branch from repo settings page to the page of branches list (#24380) 2023-04-30 23:08:51 +08:00
normalize.css Replace Fomantic reset module with our own (#24948) 2023-05-28 18:04:35 +00:00
select.css Change access token UI to select dropdowns (#25109) (#25230) 2023-06-13 12:42:25 +00:00
svg.css Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
tippy.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00