Fix user dropdown on mobile
This commit is contained in:
parent
914e8f2084
commit
7065b52053
1 changed files with 16 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue