fix: same size for img icons in tile-mode
Massimo Melina committed
Jul 1, 2023 at 22:16 UTC
39c6dec2f95912ffd4f233c4dc7f25399d0f56cd
1 file changed
+5
-1
frontend/src/index.scss
+5
-1
@@ -479,7 +479,11 @@ button label {
479
&:last-of-type { padding: 0; }
480
span { display: block; }
481
.icon.icon { font-size: calc(1.2rem + .6rem * var(--tile-size)); }
482
- img.icon { width: auto }
482
+ img.icon {
483
+ width: auto;
484
+ height: 1em;
485
+ padding: 0.1em 0;
486
+ }
487
.icon {
488
font-size: 4rem;
489
display: block;