Skip to content

Commit e2f608b

Browse files
committed
fix(header): Fixed icon alignment
1 parent 44a2237 commit e2f608b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/ws-header/ws-header.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export class WSHeader extends Component {
264264
<li>
265265
<WSDropdown
266266
className="locale"
267-
icon="icon-sort-down"
267+
icon="icon24 icon-sort-down"
268268
items={this.locales}
269269
text={this.state.locale}
270270
onChange={item => this.setLocale(item.value)}
@@ -278,7 +278,7 @@ export class WSHeader extends Component {
278278
</li>
279279
:
280280
<li onClick={() => this.authorization.unauthorize()}>
281-
<a><span className="icon-power icon24" /></a>
281+
<a><span className="icon icon24 icon-power" /></a>
282282
</li>
283283
}
284284
</ul>

src/ws-header/ws-header.scss

+3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ $header-border-color: schema-color(4) !default;
8686
display: inline-block;
8787
margin-right: 5px;
8888
}
89+
.icon {
90+
vertical-align: middle;
91+
}
8992
}
9093
}
9194
.level-2 {

0 commit comments

Comments
 (0)