- commit
- 3ffdb8fec900da22b6e3f9636bbc4b8c6e3f071d
- parent
- f72178b8d6dddbf70d5d64ae60502c45d41444d3
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-04-04 19:46
work around weird browser default style if we set width and height, browsers use this for actual width and height in addition to aspect ratio.
Diffstat
M | style/style.scss | 5 | +++++ |
1 files changed, 5 insertions, 0 deletions
diff --git a/style/style.scss b/style/style.scss
@@ -25,6 +25,11 @@ $color-link-focus: var(--color-link-focus); 25 25 background-color: $color-bg-tint; 26 26 } 27 27 -1 28 /* work around awkward browser styles */ -1 29 img { -1 30 block-size: auto; -1 31 } -1 32 28 33 :root { 29 34 --color-fg: #222; 30 35 --color-bg: #fff;