]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
Remove uneccessary details to link titles
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.scss
index 40bae7668595319c856b4de69203820521426b77..18c1ae288cc13bdb8114ee488a43b6f21982520a 100644 (file)
@@ -6,9 +6,10 @@
   justify-content: space-between;
   margin: 20px 0 50px;
 
-  h4,
+  h1,
   .fake-element {
     flex: 1;
+    font-size: 1.5rem;
   }
 
   input[type=text] {
 }
 
 ::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 +72,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;
@@ -67,7 +85,7 @@ my-edit-button {
       .video-bottom,
       .video-bottom .video-miniature-information {
         /* same width than a.video-thumbnail */
-        max-width: 223px !important;
+        max-width: $video-thumbnail-width !important;
       }
     }
   }
@@ -93,7 +111,22 @@ my-edit-button {
     ::ng-deep {
       .action-button {
         /* same width than a.video-thumbnail */
-        width: 223px;
+        width: $video-thumbnail-width;
+      }
+    }
+  }
+}
+
+// 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: $video-thumbnail-width;
+        }
       }
     }
   }