Skip to content

Commit

Permalink
Update scroll style
Browse files Browse the repository at this point in the history
  • Loading branch information
aswallace committed May 21, 2024
1 parent 16ec93a commit ae71346
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

background-color: var(--secondary-sidebar-color);
color: var(--primary-sidebar-text-color);
padding: 0.5em;
padding: 0.0.5em 0 0.5em 0.5em;
}

.minimized-container {
Expand Down
1 change: 1 addition & 0 deletions packages/core/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ main {
padding: 0;
border: 0;
overflow: hidden;
scrollbar-color: var(--borders-light-grey) var(--accent-dark)
}

body {
Expand Down
9 changes: 9 additions & 0 deletions packages/web/src/components/Home/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
position: relative;
}

.root {
margin: 0;
border: 0;
width: 100%;
height: 100%;
overflow-y: auto;
justify-content: center;
}

.content {
padding: calc(4*var(--margin));
max-width: 1200px;
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function Home() {
},
];
return (
<>
<div className={styles.root}>
<Banner />
<div className={styles.content}>
<div className={styles.header}>
Expand All @@ -74,6 +74,6 @@ export default function Home() {
</div>
</div>
</div>
</>
</div>
);
}
1 change: 0 additions & 1 deletion packages/web/src/components/Layout/Layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
border: 0;
width: 100%;
height: 100%;
overflow-y: auto;
justify-content: center;
}

0 comments on commit ae71346

Please sign in to comment.