]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss
Fix broken views on mobile and small screens (#2671)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-subscriptions / my-account-subscriptions.component.scss
index 2fbfa335b6f7420c5826017c521c2fbcb7260660..ba8d56689bf2e58a4422c27faf69a94491d59885 100644 (file)
@@ -19,7 +19,7 @@
       width: fit-content;
       display: flex;
       align-items: baseline;
-      color: #000;
+      color: var(--mainForegroundColor);
 
       .video-channel-display-name {
         font-weight: $font-semibold;
 
   .actor-owner {
     @include actor-owner;
+
+    margin-top: 0;
+  }
+}
+
+@media screen and (max-width: $small-view) {
+  .video-channels-header {
+    text-align: center;
   }
 
-  my-subscribe-button {
-    /deep/ span[role=button] {
-      padding: 7px 12px;
-      font-size: 16px;
+  .video-channel {
+    .video-channel-info {
+      padding-bottom: 10px;
+      text-align: center;
+
+      .video-channel-names {
+        flex-direction: column;
+        align-items: center !important;
+        margin: auto;
+      }
+    }
+
+    img {
+      margin-right: 0;
     }
   }
 }