File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed
frontends/web/src/components Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1818}
1919
2020.badgeIcon {
21- max-width : 9 px ;
21+ max-width : 10 px ;
2222}
2323
2424.withChildren .badgeIcon {
Original file line number Diff line number Diff line change 9292 color : var (--color-secondary );
9393}
9494
95+ .sidebarIconVisible {
96+ visibility : visible;
97+ }
98+
99+ .sidebarIconHidden {
100+ visibility : hidden;
101+ }
102+
95103.sidebarItem {
96104 display : block;
97105}
Original file line number Diff line number Diff line change @@ -226,12 +226,11 @@ class Sidebar extends Component<Props> {
226226 < > ({ keystore . keystore . rootFingerprint } )</ >
227227 ) : null }
228228 </ span >
229- { keystore . keystore . connected ? (
230- < Badge
231- icon = { props => < USBSuccess { ...props } /> }
232- type = "success"
233- title = { t ( 'device.keystoreConnected' ) } />
234- ) : null }
229+ < Badge
230+ className = { keystore . keystore . connected ? style . sidebarIconVisible : style . sidebarIconHidden }
231+ icon = { props => < USBSuccess { ...props } /> }
232+ type = "success"
233+ title = { t ( 'device.keystoreConnected' ) } />
235234 </ span >
236235 </ div >
237236
You can’t perform that action at this time.
0 commit comments