Skip to content

Commit 452db9a

Browse files
spike-rabbittimowolf
authored andcommitted
fix(badges): prevent misaligned icons
When using the new brand version, icons are misaligned. With this change, old and new brand version looks correct.
1 parent ac2fd82 commit 452db9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/element-theme/src/styles/bootstrap/_badges.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@
127127
.icon {
128128
font-size: 20px;
129129
margin-inline-start: -4px;
130-
margin-block-start: -2px;
130+
vertical-align: top;
131+
padding-block: map.get(spacers.$spacers, 1);
131132
}
132133
}
133134

0 commit comments

Comments
 (0)