Fix user dropdown on mobile

This commit is contained in:
kolaente 2020-06-12 19:07:42 +02:00
parent 914e8f2084
commit 7065b52053
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -45,7 +45,22 @@
@media screen and (max-width: 640px) { // Magic number to hide the username if it would take too much space otherwise @media screen and (max-width: 640px) { // Magic number to hide the username if it would take too much space otherwise
.user { .user {
width: 7em; width: 4rem;
display: flex;
align-items: center;
.dropdown-trigger {
line-height: 1;
.button {
padding: 0 0.25rem;
height: 1rem;
.icon {
width: .5rem;
}
}
}
.username { .username {
display: none; display: none;