fix(client): shortcuts wrapped on two lines on global menu (closes #976)

This commit is contained in:
Elian Doran 2025-01-17 23:34:19 +02:00
parent 47335062a4
commit d9335bec37
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View File

@ -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 {

View File

@ -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;