aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-20 11:35:09 +0200
committerChocobozzz <me@florianbigard.com>2021-10-20 11:35:09 +0200
commitd94b8ecf7dddb82b84302854c5fb761f90a82e39 (patch)
tree567d4f8e3159ae4217ebf9653aae15e0d2192535 /client/src/app/shared/shared-moderation
parentdbb76162b9cf2d048505e4d6170b694388f68e75 (diff)
downloadPeerTube-d94b8ecf7dddb82b84302854c5fb761f90a82e39.tar.gz
PeerTube-d94b8ecf7dddb82b84302854c5fb761f90a82e39.tar.zst
PeerTube-d94b8ecf7dddb82b84302854c5fb761f90a82e39.zip
Improve admin tables responsive
Diffstat (limited to 'client/src/app/shared/shared-moderation')
-rw-r--r--client/src/app/shared/shared-moderation/moderation.scss27
1 files changed, 27 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-moderation/moderation.scss b/client/src/app/shared/shared-moderation/moderation.scss
index badf9ce4c..815e2791f 100644
--- a/client/src/app/shared/shared-moderation/moderation.scss
+++ b/client/src/app/shared/shared-moderation/moderation.scss
@@ -5,12 +5,18 @@
5 5
6.moderation-expanded { 6.moderation-expanded {
7 font-size: 90%; 7 font-size: 90%;
8 display: flex;
9 flex-wrap: wrap;
10 justify-content: space-between;
8 11
9 .moderation-expanded-label { 12 .moderation-expanded-label {
13 @include margin-right(5px);
14
10 font-weight: $font-semibold; 15 font-weight: $font-semibold;
11 display: inline-block; 16 display: inline-block;
12 vertical-align: top; 17 vertical-align: top;
13 text-align: end; 18 text-align: end;
19 min-width: 100px;
14 } 20 }
15 21
16 .moderation-expanded-text { 22 .moderation-expanded-text {
@@ -21,6 +27,17 @@
21 margin-bottom: 0 !important; 27 margin-bottom: 0 !important;
22 } 28 }
23 } 29 }
30
31 .right {
32 width: 50%;
33 max-width: 500px;
34 }
35
36 @media screen and (max-width: $primeng-breakpoint) {
37 .right {
38 width: 100%;
39 }
40 }
24} 41}
25 42
26.screenratio { 43.screenratio {
@@ -125,3 +142,13 @@ my-action-dropdown.show {
125 } 142 }
126 } 143 }
127} 144}
145
146my-abuse-details {
147 width: 100%;
148}
149
150@media screen and (max-width: $primeng-breakpoint) {
151 .abuse-messages {
152 justify-content: flex-start !important;
153 }
154}