Skip to content

Commit 9516e3a

Browse files
authored
Merge pull request #27955 from nextcloud/backport/27936/stable20
[stable20] Fix svg icons disapearing in app navigation when text overflows
2 parents 82cf1dd + 1e88f23 commit 9516e3a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

core/css/apps.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ kbd {
267267
justify-content: space-between;
268268
line-height: 44px;
269269
min-height: 44px;
270-
padding: 0 12px 0 44px;
270+
padding: 0 12px 0 14px;
271271
overflow: hidden;
272272
box-sizing: border-box;
273273
white-space: nowrap;
@@ -277,11 +277,14 @@ kbd {
277277
flex: 1 1 0px;
278278
z-index: 100; /* above the bullet to allow click*/
279279
/* TODO: forbid using img as icon in menu? */
280+
281+
.svg {
282+
padding: 0 12px 0 44px;
283+
}
280284
&:first-child img {
281285
margin-right: 11px;
282286
width: 16px;
283287
height: 16px;
284-
margin-left: -30px;
285288
}
286289

287290
/* counter can also be inside the link */

0 commit comments

Comments
 (0)