mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 14:17:02 +00:00
Avoid user menu toggle button overlapping with tab bar top border
This commit is contained in:
parent
9165320390
commit
ef296e46cb
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,7 @@ function user_menu() {
|
|||
base: {
|
||||
corner_radius: 6,
|
||||
height: button_height,
|
||||
width: online ? 37 : 24,
|
||||
width: 20,
|
||||
padding: {
|
||||
top: 2,
|
||||
bottom: 2,
|
||||
|
@ -153,6 +153,7 @@ function user_menu() {
|
|||
},
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
user_menu_button_online: build_button({ online: true }),
|
||||
user_menu_button_offline: build_button({ online: false }),
|
||||
|
|
Loading…
Reference in a new issue