You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notice since the icon has image in its class name it applies the following
.ui.header>.image, .ui.header>img {
display: inline-block;
margin-top: .14285em;
width: 2.5em;
height: auto;
vertical-align: middle;
}
Expected
The width should be the same as the icon
Result
The Icon is applying the image style making it wider which can put it on a new line
Testcase
The text was updated successfully, but these errors were encountered:
I was having this problem, too. My HTML code renders as so:
<h1 class="ui top attached small header">
<i class="fitted image icon"></i> Post Overview
</h1>
image icon is the only icon in the header with a width of 2.5em (by default) because it's picking up the .image class. The fix for this is to add :not(.icon) to line 82 in src/definitions/elements/header.less. Code would look like this:
Steps to Reproduce
notice since the icon has image in its class name it applies the following
.ui.header>.image, .ui.header>img {
display: inline-block;
margin-top: .14285em;
width: 2.5em;
height: auto;
vertical-align: middle;
}
Expected
The width should be the same as the icon
Result
The Icon is applying the image style making it wider which can put it on a new line
Testcase
The text was updated successfully, but these errors were encountered: