ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix moderation dropdown overflow on mobile
Chocobozzz52444ea13c72
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html b/client/src/app/shared/shared-main/buttons/action-dropdown.component.htmlindex 017355bd0a..37cf63fcd3 100644--- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html+++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html@@ -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>diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scssindex fe65d6e7e8..4c8a591aa8 100644--- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss+++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss@@ -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;+ }+}