Remove fixed positioning from footer component (#325)

This commit is contained in:
Jonas Schell 2024-09-12 16:28:46 +02:00 committed by GitHub
parent dad25ad9b0
commit aa9ce71ae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 10 deletions

View File

@ -63,7 +63,7 @@ export function PageClientImpl(props: {
const handlePreJoinError = React.useCallback((e: any) => console.error(e), []);
return (
<main data-lk-theme="default">
<main data-lk-theme="default" style={{ height: '100%' }}>
{connectionDetails === undefined || preJoinChoices === undefined ? (
<div style={{ display: 'grid', placeItems: 'center', height: '100%' }}>
<PreJoin

View File

@ -1,11 +1,12 @@
.main {
position: relative;
display: grid;
gap: 1rem;
justify-content: center;
place-content: center;
justify-items: center;
padding-bottom: 100px;
overflow: auto;
flex-grow: 1;
}
.tabContainer {

View File

@ -10,17 +10,16 @@ html {
html,
body {
overflow: hidden;
}
html,
body,
#__next,
main {
width: 100%;
height: 100%;
margin: 0px;
}
body {
display: flex;
flex-direction: column;
}
.header {
max-width: 500px;
padding-inline: 2rem;
@ -43,8 +42,6 @@ main {
}
footer {
position: absolute;
bottom: 0;
width: 100%;
padding: 1.5rem 2rem;
text-align: center;