fix header on desktop (#31)

This commit is contained in:
Adam Butterworth
2020-03-16 14:21:28 -04:00
committed by GitHub
parent fb83d881f6
commit 94d11bc7c2
2 changed files with 4 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ export default function CourseHeader({
<Dropdown className="user-dropdown">
<Dropdown.Button>
<FontAwesomeIcon icon={faUserCircle} className="d-md-none" size="lg" />
<span className="d-none d-mb-block">
<span className="d-none d-md-inline">
{authenticatedUser.username}
</span>
</Dropdown.Button>

View File

@@ -66,7 +66,9 @@ $primary: #1176B2;
.user-dropdown {
.btn {
height: 3rem;
padding: 0 .5rem;
@media (min-width: map-get($grid-breakpoints, 'sm')) {
padding: 0 .5rem;
}
}
}
}