mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 04:21:55 +00:00
Fix picture images not sizing correctly in tab containers (#1019)
- Adds a `display: block; on picture tags to fix #1017 - Fixes the image max_width (used for image compression) to match the max page content size (which is now 896px)
This commit is contained in:
@@ -75,6 +75,10 @@
|
|||||||
color: var(--foreground_emphasis-high);
|
color: var(--foreground_emphasis-high);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
picture {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
img:not([data-dont-round]):not([src$=".svg"]),
|
img:not([data-dont-round]):not([src$=".svg"]),
|
||||||
video:not([data-dont-round]) {
|
video:not([data-dont-round]) {
|
||||||
border-radius: var(--corner-radius_m);
|
border-radius: var(--corner-radius_m);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import { getLargestSourceSetSrc } from "../get-largest-source-set-src";
|
|||||||
|
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
const MAX_WIDTH = 768;
|
const MAX_WIDTH = 896;
|
||||||
const MAX_HEIGHT = 768;
|
const MAX_HEIGHT = 768;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user