Fix moderation dropdown overflow on mobile
This commit is contained in:
parent
85edcb5626
commit
52444ea13c
|
@ -18,7 +18,7 @@
|
|||
<ng-template #templateActionLabel let-action>
|
||||
<my-global-icon *ngIf="action.iconName" [iconName]="action.iconName" [ngClass]="'icon-' + action.iconName" aria-hidden="true"></my-global-icon>
|
||||
|
||||
<div class="d-flex flex-column">
|
||||
<div class="item-label">
|
||||
<span i18n>{{ action.label }}</span>
|
||||
<small class="muted" *ngIf="action.description">{{ action.description }}</small>
|
||||
</div>
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
}
|
||||
|
||||
.dropdown-menu {
|
||||
max-width: 75vw;
|
||||
|
||||
.dropdown-header {
|
||||
padding: 0.2rem 1rem;
|
||||
}
|
||||
|
@ -72,3 +74,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 1px;
|
||||
|
||||
> * {
|
||||
@include ellipsis;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue