Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
fix: li out of page makes scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaVandewalle committed Mar 20, 2024
1 parent 487eb6b commit cd68a9e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion frontend/src/assets/styles/mainpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
justify-content: center;
align-items: center;
padding: 5%;
transform: scale(1.5);

a {
transform: scale(1.5);
}
}
}

Expand Down
11 changes: 8 additions & 3 deletions frontend/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ export function Sidebar(): JSX.Element {
<>
<aside className={"menu is-flex is-flex-direction-column is-justify-content-space-between"}>
<ul className={"menu-list"}>
<li><a><PiProjectorScreen/></a></li>
<li><a><PiFolder/></a></li>
<li>
<a><PiProjectorScreen/></a>
</li>
<li>
<a><PiFolder/></a>
</li>
</ul>
<ul className={"menu-list"}>
<li><a className={"is-transparent"} onClick={handleSettings}><IoMdSettings/></a>
<li>
<a className={"is-transparent"} onClick={handleSettings}><IoMdSettings/></a>
</li>
</ul>
</aside>
Expand Down

0 comments on commit cd68a9e

Please sign in to comment.