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