Commit b89cd43 1 parent 0326d2e commit b89cd43 Copy full SHA for b89cd43
File tree 2 files changed +12
-2
lines changed
src/renderer/components/Pref
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import { BiSliderAlt } from 'react-icons/bi'
32
32
import Advanced from './Advanced'
33
33
import Commands from './Commands'
34
34
import General from './General'
35
+ import styles from './styles.less'
35
36
36
37
interface Props { }
37
38
@@ -91,15 +92,15 @@ const PreferencePanel = (props: Props) => {
91
92
</ DrawerHeader >
92
93
93
94
< DrawerBody >
94
- < Tabs >
95
+ < Tabs className = { styles . tabs } >
95
96
< TabList >
96
97
< Tab > { lang . general } </ Tab >
97
98
< Tab > { lang . commands } </ Tab >
98
99
< Tab > { lang . proxy } </ Tab >
99
100
< Tab > { lang . advanced } </ Tab >
100
101
</ TabList >
101
102
102
- < TabPanels >
103
+ < TabPanels className = { styles . tab_panels } >
103
104
< TabPanel >
104
105
< General data = { data } onChange = { onUpdate } />
105
106
</ TabPanel >
Original file line number Diff line number Diff line change 5
5
color : inherit ;
6
6
}
7
7
8
+ .tabs {
9
+ height : 100% ;
10
+ }
11
+
12
+ .tab_panels {
13
+ height : calc (100% - 37px );
14
+ overflow : auto ;
15
+ }
16
+
8
17
:global {
9
18
label {
10
19
span .chakra-radio__control {
You can’t perform that action at this time.
0 commit comments