Skip to content

Commit

Permalink
fix(client): shortcuts wrapped on two lines on global menu (closes #976)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 17, 2025
1 parent 4733506 commit d9335be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/public/app/widgets/buttons/global_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const TPL = `
position: relative;
top: 3px;
font-size: 120%;
margin-right: 5px;
margin-right: 6px;
}
body.mobile .global-menu .dropdown-submenu .dropdown-menu {
Expand Down
8 changes: 7 additions & 1 deletion src/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,14 @@ body.desktop .dropdown-menu {
visibility: hidden;
}

.dropdown-menu:not(#context-menu-container) .dropdown-item,
#context-menu-container .dropdown-item > span {
display: flex;
}

.dropdown-menu kbd {
float: right;
flex-grow: 1;
text-align: right;
color: var(--muted-text-color);
border: none;
background-color: transparent;
Expand Down

0 comments on commit d9335be

Please sign in to comment.