Commit ac82ac7 1 parent 5953fcd commit ac82ac7 Copy full SHA for ac82ac7
File tree 2 files changed +10
-3
lines changed
src/renderer/components/Settings
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 124
124
overflow : hidden;
125
125
text-overflow : ellipsis;
126
126
font-family : inherit;
127
- min- height: 2 rem ;
127
+ height : 40 px ;
128
128
align-items : center;
129
129
justify-items : center;
130
130
flex-wrap : wrap;
131
131
}
132
132
133
133
.Settings__environment_option_spacer {
134
134
width : 100% ;
135
- height : 4.5 rem ;
135
+ height : 40 px ;
136
136
}
137
137
138
138
.Settings__env_option_text {
Original file line number Diff line number Diff line change @@ -53,9 +53,16 @@ const Settings = ({
53
53
removePath = { removeFromEMMEPythonEnvs } />
54
54
{ index < emmePythonEnvs . length && < PathOptionDivider /> }
55
55
</ div > ) } ) ) }
56
- { emmePythonEnvs . length === 0 &&
56
+ { emmePythonEnvs . length === 1 &&
57
57
( < div className = "Settings__environment_option_spacer" /> )
58
58
}
59
+ {
60
+ emmePythonEnvs . length === 0 &&
61
+ ( < div >
62
+ < div className = "Settings__environment_option_spacer" />
63
+ < div className = "Settings__environment_option_spacer" />
64
+ </ div > )
65
+ }
59
66
< button className = "Settings__python-env-input-btn"
60
67
onClick = { ( ) => {
61
68
dialog . showOpenDialog ( {
You can’t perform that action at this time.
0 commit comments