cherrypick ac0fe962a0: aw3299 hide questionmark on mobile
Some checks failed
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit

This commit is contained in:
Francisco Salas 2022-01-28 16:16:26 +01:00
parent a1a4fc14ab
commit e944064053
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div> <div class="mobile-hide">
<div (click)="toggle($event)" class="rounded-circle menu-button hidden" [ngClass]="{'hidden':!user || noContent}"> <div (click)="toggle($event)" class="rounded-circle menu-button hidden" [ngClass]="{'hidden':!user || noContent}">
<span i18n-title title="Help"><i class="fas fa-question" aria-hidden="true"></i></span> <span i18n-title title="Help"><i class="fas fa-question" aria-hidden="true"></i></span>
<div class="menu hidden" [ngClass]="{'hidden':!showMenu}"> <div class="menu hidden" [ngClass]="{'hidden':!showMenu}">

View File

@ -68,6 +68,16 @@ div.menu-button > span {
} }
} }
.mobile-hide {
display: inherit;
}
@media screen and (max-width: 768px) {
.mobile-hide {
display: none;
}
}
.unread { .unread {
display: block; display: block;
position: absolute; position: absolute;