]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-videos/my-account-videos.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-videos / my-account-videos.component.scss
index 40bae7668595319c856b4de69203820521426b77..a3422c239c373e871ed95b3dd591fcc70743f46f 100644 (file)
 }
 
 ::ng-deep {
+  .video {
+    flex-wrap: wrap;
+  }
+
   .action-button span {
     white-space: nowrap;
   }
   }
 }
 
+.action-button {
+  display: flex;
+  margin-left: 55px;
+  margin-top: 10px;
+  align-self: flex-end;
+}
+
 my-delete-button,
 my-edit-button {
   margin-right: 10px;
@@ -60,6 +71,12 @@ my-edit-button {
     flex-direction: column;
   }
 
+  .action-button {
+    flex-direction: column;
+    align-self: center;
+    margin-left: 0px;
+  }
+
   ::ng-deep {
     .video-miniature {
       align-items: center;
@@ -98,3 +115,18 @@ my-edit-button {
     }
   }
 }
+
+// Adapt my-video-miniature on small screens with menu
+@media screen and (min-width: $small-view) and (max-width: #{breakpoint(lg) + ($not-expanded-horizontal-margins / 3) * 2}) {
+  :host-context(.main-col:not(.expanded)) {
+    ::ng-deep {
+      .video-miniature {
+        flex-direction: column;
+
+        .video-miniature-name {
+          max-width: 223px;
+        }
+      }
+    }
+  }
+}