Skip to content

Commit cd27432

Browse files
authored
Merge pull request #749 from nieyuyao/fix/config-menu-height
fix: set max height for congfig menu list
2 parents 0f2f223 + 73fea56 commit cd27432

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/renderer/components/TopBar/ConfigMenu.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ const ConfigMenu = (props: Props) => {
5050
<MenuList
5151
borderColor="var(--swh-border-color-0)"
5252
className={styles.menu_list}
53+
maxH={"calc(100vh - 80px)"}
54+
overflowY={"scroll"}
5355
>
5456
<MenuItem
5557
icon={<BiInfoCircle />}

0 commit comments

Comments
 (0)