Răsfoiți Sursa

adjust the icon size in the settings menu.

oldj 4 ani în urmă
părinte
comite
0f8a08faf0

+ 7 - 0
src/renderer/components/TopBar/ConfigMenu.less

@@ -0,0 +1,7 @@
+@import "../../styles/common";
+
+.menu_list {
+  button > span {
+    font-size: 1em;
+  }
+}

+ 2 - 1
src/renderer/components/TopBar/ConfigMenu.tsx

@@ -21,6 +21,7 @@ import {
   BiRefresh,
   BiSliderAlt,
 } from 'react-icons/bi'
+import styles from './ConfigMenu.less'
 
 interface Props {
 
@@ -42,7 +43,7 @@ const ConfigMenu = (props: Props) => {
         >
           <BiCog/>
         </MenuButton>
-        <MenuList borderColor="var(--swh-border-color-0)">
+        <MenuList borderColor="var(--swh-border-color-0)" className={styles.menu_list}>
           <MenuItem
             icon={<BiInfoCircle/>}
             onClick={() => agent.broadcast('show_about')}

+ 1 - 1
src/version.json

@@ -1 +1 @@
-[4, 0, 0, 6026]
+[4, 0, 0, 6028]