Skip to content

Commit

Permalink
fix: make app-list scrollable on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Aug 7, 2024
1 parent 3c3dc03 commit 8037ddd
Showing 1 changed file with 7 additions and 3 deletions.
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 8037ddd

Please sign in to comment.