Fixing navbar icon position.
This commit is contained in:
parent
7e6e9b6d81
commit
98b8793dec
2 changed files with 1 additions and 5 deletions
|
@ -103,7 +103,7 @@ export class Navbar extends Component<any, NavbarState> {
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
<li className="nav-item">
|
<li className="nav-item">
|
||||||
<Link class="inbox nav-link" to="/inbox">
|
<Link class="nav-link" to="/inbox">
|
||||||
<svg class="icon"><use xlinkHref="#icon-mail"></use></svg>
|
<svg class="icon"><use xlinkHref="#icon-mail"></use></svg>
|
||||||
{this.state.unreadCount> 0 && <span class="ml-1 badge badge-light">{this.state.unreadCount}</span>}
|
{this.state.unreadCount> 0 && <span class="ml-1 badge badge-light">{this.state.unreadCount}</span>}
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
@ -90,10 +90,6 @@ blockquote {
|
||||||
padding: 0.1em 5px;
|
padding: 0.1em 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inbox {
|
|
||||||
margin-top: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mouse-icon {
|
.mouse-icon {
|
||||||
margin-top: -4px;
|
margin-top: -4px;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue