Skip to content

Commit 233fded

Browse files
authored
fix(NcIconSvgWrapper): center svg span wrapper
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent 4631943 commit 233fded

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,13 @@ export default {
285285
vertical-align: text-bottom;
286286
}
287287
288+
// Icon svg wrapper
289+
span {
290+
display: flex;
291+
justify-content: center;
292+
align-items: center;
293+
}
294+
288295
&:deep(svg) {
289296
fill: currentColor;
290297
width: v-bind('iconSize');

0 commit comments

Comments
 (0)