aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-27 10:35:51 +0200
committerChocobozzz <me@florianbigard.com>2022-09-27 10:35:51 +0200
commit52444ea13c72ccf6ff09c629710a545b7e8283df (patch)
tree80cd2c1057c75fc44322318eac5a4ed4c722ba27 /client/src/app/shared/shared-main/buttons/action-dropdown.component.scss
parent85edcb5626d6843fbe4aa6f4d002e7ccbb5e7b58 (diff)
downloadPeerTube-52444ea13c72ccf6ff09c629710a545b7e8283df.tar.gz
PeerTube-52444ea13c72ccf6ff09c629710a545b7e8283df.tar.zst
PeerTube-52444ea13c72ccf6ff09c629710a545b7e8283df.zip
Fix moderation dropdown overflow on mobile
Diffstat (limited to 'client/src/app/shared/shared-main/buttons/action-dropdown.component.scss')
-rw-r--r--client/src/app/shared/shared-main/buttons/action-dropdown.component.scss12
1 files changed, 12 insertions, 0 deletions
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.scss
index fe65d6e7e..4c8a591aa 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 @@
53} 53}
54 54
55.dropdown-menu { 55.dropdown-menu {
56 max-width: 75vw;
57
56 .dropdown-header { 58 .dropdown-header {
57 padding: 0.2rem 1rem; 59 padding: 0.2rem 1rem;
58 } 60 }
@@ -72,3 +74,13 @@
72 } 74 }
73 } 75 }
74} 76}
77
78.item-label {
79 display: flex;
80 flex-direction: column;
81 min-width: 1px;
82
83 > * {
84 @include ellipsis;
85 }
86}