Skip to content

Commit 4d881c4

Browse files
authored
fix(system-banner): vertical center align icon on desktop [skip-cd][run-chromatic] (#675)
2 parents 860d9d5 + 4dd4cdc commit 4d881c4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/components/SystemBanner/system-banner-item.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,8 @@ slot[name="action"]::slotted(a) {
100100
-webkit-box-orient: vertical;
101101
max-height: calc(2 * var(--sgds-line-height-20, 20px)); /* 2 lines */
102102
}
103+
/* Vertically center icon on desktop */
104+
::slotted(sgds-icon) {
105+
align-self: center;
106+
}
103107
}

0 commit comments

Comments
 (0)