Skip to content

Commit bec324e

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
fix(NcIconSvgWrapper): center svg span wrapper
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent c7a8ec9 commit bec324e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,13 @@ export default {
286286
vertical-align: text-bottom;
287287
}
288288
289+
// Icon svg wrapper
290+
span {
291+
display: flex;
292+
justify-content: center;
293+
align-items: center;
294+
}
295+
289296
&:deep(svg) {
290297
fill: currentColor;
291298
width: var(--icon-size, 20px);

0 commit comments

Comments
 (0)