mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 07:35:13 -04:00
Merge pull request #27936 from CarlSchwan/work/carl/fix-overflow-icon
Fix svg icons disapearing in app navigation when text overflows
This commit is contained in:
commit
2b623a462d
1 changed files with 5 additions and 2 deletions
|
|
@ -267,7 +267,7 @@ kbd {
|
|||
justify-content: space-between;
|
||||
line-height: 44px;
|
||||
min-height: 44px;
|
||||
padding: 0 12px 0 44px;
|
||||
padding: 0 12px 0 14px;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
white-space: nowrap;
|
||||
|
|
@ -277,11 +277,14 @@ kbd {
|
|||
flex: 1 1 0px;
|
||||
z-index: 100; /* above the bullet to allow click*/
|
||||
/* TODO: forbid using img as icon in menu? */
|
||||
|
||||
.svg {
|
||||
padding: 0 12px 0 44px;
|
||||
}
|
||||
&:first-child img {
|
||||
margin-right: 11px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: -30px;
|
||||
}
|
||||
|
||||
/* counter can also be inside the link */
|
||||
|
|
|
|||
Loading…
Reference in a new issue