mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-10-29 12:52:08 +01:00
Fix scrollbar bug
This commit is contained in:
@@ -5,11 +5,11 @@ import About from "@components/About";
|
|||||||
export default function App() {
|
export default function App() {
|
||||||
return (
|
return (
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<Header />
|
|
||||||
<About />
|
|
||||||
<div style={{ textAlign: "center" }}>
|
<div style={{ textAlign: "center" }}>
|
||||||
<h4>Website under construction 🚧👷</h4>
|
<h4>Website under construction 🚧👷</h4>
|
||||||
</div>
|
</div>
|
||||||
|
<Header />
|
||||||
|
<About />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
.about {
|
.about {
|
||||||
|
height: 100vh;
|
||||||
padding: 5rem 10rem;
|
padding: 5rem 10rem;
|
||||||
.greeting {
|
.greeting {
|
||||||
color: var(--color-accent);
|
color: var(--color-accent);
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
position: sticky;
|
||||||
|
background-color: var(--color-background-body);
|
||||||
|
top: 0;
|
||||||
|
z-index: 100;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid var(--color-border);
|
border-bottom: 1px solid var(--color-border);
|
||||||
padding: 10px 50px;
|
padding: 10px 50px;
|
||||||
|
|||||||
@@ -69,5 +69,5 @@ body,
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user