]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix buttons display on mobile history view
authorkimsible <kimsible@users.noreply.github.com>
Tue, 28 Apr 2020 12:39:32 +0000 (14:39 +0200)
committerRigel Kent <par@rigelk.eu>
Tue, 28 Apr 2020 16:30:42 +0000 (18:30 +0200)
client/src/app/+my-account/my-account-history/my-account-history.component.scss

index af6395fb158d9dc965491640764d4040a91a3949..9eeeaf310b612aa9fbeb50225a27e0733a7c3ce4 100644 (file)
@@ -12,6 +12,8 @@
 .top-buttons {
   margin-bottom: 20px;
   display: flex;
+  align-items: center;
+  flex-wrap: wrap;
 
   .history-switch {
     display: flex;
     flex-grow: 1;
   }
 }
+
+@media screen and (max-width: $mobile-view) {
+  .top-buttons {
+    .history-switch label, .delete-history {
+      @include ellipsis;
+    }
+
+    .history-switch label {
+      width: 60%;
+    }
+
+    .delete-history {
+      margin-left: auto;
+      max-width: 32%;
+    }
+  }
+}