Skip to content

Commit

Permalink
fix: Make application list scrollable on smaller screens (#685)
Browse files Browse the repository at this point in the history
Co-authored-by: Noggling <[email protected]>
  • Loading branch information
Noggling and Noggling authored Aug 7, 2024
1 parent 8e44445 commit 26a492e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/pr-685-2008088683.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

---
"fusion-project-portal": patch
---
Bug Fix: The application list in the menu now features a scrollbar for better usability on smaller screens.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ const Styles = {
padding-top: 2rem;
`,

AppsListWrapper: styled.div`
overflow: auto;
height: inherit;
`,

Wrapper: styled.div`
column-count: 3;
height: 100%;
gap: 1.5rem;
overflow: auto;
@media only screen and (max-width: 1500px) {
Expand Down Expand Up @@ -131,7 +135,7 @@ export function MenuGroups() {
))}
</Styles.CategoryWrapper>
</Styles.Divider>
<div>
<Styles.AppsListWrapper>
<AppContextMessage />
{displayAppGroups && !!displayAppGroups?.length ? (
activeItem.includes('Pinned Apps') && favorites?.length === 0 ? (
Expand Down Expand Up @@ -196,7 +200,7 @@ export function MenuGroups() {
) : null}
</>
)}
</div>
</Styles.AppsListWrapper>
</>
)}
</Styles.MenuWrapper>
Expand Down

0 comments on commit 26a492e

Please sign in to comment.