Skip to content

Commit ec6f2fd

Browse files
authored
Merge pull request #6880 from nextcloud-libraries/backport/6869/stable8
[stable8] fix(NcIconSvgWrapper): center svg span wrapper
2 parents c7a8ec9 + 557e91d commit ec6f2fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,11 @@ export default {
286286
vertical-align: text-bottom;
287287
}
288288
289+
// Icon svg wrapper
290+
span {
291+
line-height: 0;
292+
}
293+
289294
&:deep(svg) {
290295
fill: currentColor;
291296
width: var(--icon-size, 20px);

0 commit comments

Comments
 (0)