Remove fixed positioning from footer component (#325)
This commit is contained in:
parent
dad25ad9b0
commit
aa9ce71ae8
@ -63,7 +63,7 @@ export function PageClientImpl(props: {
|
|||||||
const handlePreJoinError = React.useCallback((e: any) => console.error(e), []);
|
const handlePreJoinError = React.useCallback((e: any) => console.error(e), []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main data-lk-theme="default">
|
<main data-lk-theme="default" style={{ height: '100%' }}>
|
||||||
{connectionDetails === undefined || preJoinChoices === undefined ? (
|
{connectionDetails === undefined || preJoinChoices === undefined ? (
|
||||||
<div style={{ display: 'grid', placeItems: 'center', height: '100%' }}>
|
<div style={{ display: 'grid', placeItems: 'center', height: '100%' }}>
|
||||||
<PreJoin
|
<PreJoin
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
.main {
|
.main {
|
||||||
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
place-content: center;
|
place-content: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
padding-bottom: 100px;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabContainer {
|
.tabContainer {
|
||||||
|
|||||||
@ -10,17 +10,16 @@ html {
|
|||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
|
||||||
|
|
||||||
html,
|
|
||||||
body,
|
|
||||||
#__next,
|
|
||||||
main {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
padding-inline: 2rem;
|
padding-inline: 2rem;
|
||||||
@ -43,8 +42,6 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1.5rem 2rem;
|
padding: 1.5rem 2rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user