Synced from site

This commit is contained in:
2025-03-12 18:53:16 +01:00
parent 3e13363c6c
commit 6541d83fba
301 changed files with 31858 additions and 30212 deletions
@@ -1,16 +1,16 @@
// @ts-check
export default function getLayoutStyles({
layout = null,
isBackgroundImage = false,
}) {
return isBackgroundImage
? "width: 100%; height: 100%;"
: layout === "fill"
? `width: 100%; height: 100%;`
: layout === "fullWidth"
? `width: 100%; height: auto;`
: layout === "fixed"
? ""
: "max-width: 100%; height: auto;";
}
// @ts-check
export default function getLayoutStyles({
layout = null,
isBackgroundImage = false,
}) {
return isBackgroundImage
? "width: 100%; height: 100%;"
: layout === "fill"
? `width: 100%; height: 100%;`
: layout === "fullWidth"
? `width: 100%; height: auto;`
: layout === "fixed"
? ""
: "max-width: 100%; height: auto;";
}