No more fixed position here

This commit is contained in:
kitajchuk
2023-01-07 19:55:25 -08:00
parent ce48bdc8a4
commit 08dac043eb
2 changed files with 12 additions and 8 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ export const Layout = () => (
alt="jambonz"
/>
</header>
<Outlet />
<section>
<Outlet />
</section>
<footer>
<MXS>jambonz is open source MIT on</MXS>
<MXS>
+9 -7
View File
@@ -9,28 +9,30 @@
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
justify-content: space-between;
align-items: center;
padding-left: ui-vars.$px02;
padding-right: ui-vars.$px02;
header {
position: fixed;
padding: ui-vars.$px03;
top: 0;
left: 0;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
section {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
}
footer {
color: ui-vars.$grey;
position: fixed;
padding: ui-vars.$px03;
bottom: 0;
left: 0;
width: 100%;
display: flex;
align-items: center;