]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
Fix non-fixed header and menu when overflow-x body on touchscreens (#2711)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channels.component.scss
index e1acf6cd6abfbf5ab9286aac22c6681c0c05e01d..144c2440bb94590534239a1981625ef3d0fd782b 100644 (file)
@@ -50,6 +50,7 @@
   }
 
   .video-channel-buttons {
+    margin-top: 10px;
     min-width: 190px;
   }
 }
         flex-direction: column;
         align-items: center !important;
         margin: auto;
+
+        .video-channel-name {
+          margin-left: 0px !important;
+        }
       }
     }
 
     }
 
     .video-channel-buttons {
-      margin-top: 10px;
+      align-self: center;
+    }
+  }
+}
+
+@media screen and (min-width: breakpoint(lg)) {
+  :host-context(.main-col:not(.expanded)) {
+    .video-channel-buttons {
+      float: right;
+    }
+  }
+}
+
+@media screen and (min-width: $small-view) {
+  :host-context(.expanded) {
+    .video-channel-buttons {
+      float: right;
     }
   }
 }