hide footer on white paper. closes #52
All checks were successful
Deploy / Deploy to Production (push) Successful in 42s

This commit is contained in:
isUnknown 2026-04-02 15:38:47 +02:00
parent 4ccbad9663
commit 65f6bf459b
2 changed files with 5 additions and 2 deletions

View file

@ -29,5 +29,5 @@
<link rel="shortcut icon" href="<?= $site->faviconICO()->toFile()->url() ?>" /> <link rel="shortcut icon" href="<?= $site->faviconICO()->toFile()->url() ?>" />
<?php endif ?> <?php endif ?>
</head> </head>
<body> <body data-template="<?= $page->intendedTemplate() ?>">
<div id="app"></div> <div id="app"></div>

View file

@ -107,13 +107,16 @@
footer { footer {
position: absolute; position: absolute;
width: 100vw; width: 100vw;
bottom: 0;
background: #0d0e22; background: #0d0e22;
z-index: 2; z-index: 2;
transition: transform .3s var(--ease-standard); transition: transform .3s var(--ease-standard);
} }
:global(footer:not([data-template="white-paper"] footer)) {
bottom: 0;
}
footer.hidden { footer.hidden {
transform: translateY(var(--footer-height)); transform: translateY(var(--footer-height));
} }