File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ const NoteStorageNavigator = ({ storage }: NoteStorageNavigatorProps) => {
224
224
< NavigatorContainer >
225
225
{ ! generalShowAppNavigator && < WindowControlSpacer /> }
226
226
< TopButton onClick = { openStorageContextMenu } >
227
- < StorageName > { storage . name } </ StorageName >
227
+ < div className = 'topButtonLabel' > { storage . name } </ div >
228
228
< Icon path = { mdiChevronDown } />
229
229
</ TopButton >
230
230
@@ -286,17 +286,17 @@ const TopButton = styled.button`
286
286
color: ${ ( { theme } ) => theme . navItemColor } ;
287
287
background-color: transparent;
288
288
background-color: ${ ( { theme } ) => theme . navItemBackgroundColor } ;
289
+ & > .topButtonLabel {
290
+ font-size: 18px;
291
+ font-weight: 600;
292
+ padding-right: 10px;
293
+ ${ textOverflow }
294
+ }
289
295
&:hover {
290
296
color: ${ ( { theme } ) => theme . navItemActiveColor } ;
291
297
}
292
298
`
293
299
294
- const StorageName = styled . div `
295
- font-size: 18px;
296
- font-weight: 600;
297
- padding-right: 10px;
298
- `
299
-
300
300
const SearchButton = styled . button `
301
301
margin: 0 8px;
302
302
height: 34px;
You can’t perform that action at this time.
0 commit comments