Skip to content

Commit

Permalink
fix(header): image icon support again
Browse files Browse the repository at this point in the history
An .image.icon (used by a <img>) inside a .ui.icon.header was not working anymore (misaligned), which was used on the homepage a lot.
  • Loading branch information
lubber-de committed Jan 23, 2022
1 parent cf327d1 commit 74b9960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/definitions/elements/header.less
Expand Up @@ -223,6 +223,7 @@
.ui.icon.header:first-child {
margin-top: @iconHeaderFirstMargin;
}
.ui.icon.header > .image.icon,
.ui.icon.header > .icons,
.ui.icon.header > i.icon {
float: none;
Expand All @@ -249,6 +250,7 @@
font-size: @squareHeaderIconSize;
}
& when (@variationHeaderBlock) {
.ui.block.icon.header > .image.icon,
.ui.block.icon.header > .icons,
.ui.block.icon.header > i.icon {
margin-bottom: 0;
Expand Down

0 comments on commit 74b9960

Please sign in to comment.