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:
James Fenn
2024-01-23 17:48:17 -05:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -75,6 +75,10 @@
color: var(--foreground_emphasis-high);
}
picture {
display: block;
}
img:not([data-dont-round]):not([src$=".svg"]),
video:not([data-dont-round]) {
border-radius: var(--corner-radius_m);

View File

@@ -17,7 +17,7 @@ import { getLargestSourceSetSrc } from "../get-largest-source-set-src";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const MAX_WIDTH = 768;
const MAX_WIDTH = 896;
const MAX_HEIGHT = 768;
/**