]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix responsive in my channel/my videos pages
authorChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 13:17:50 +0000 (15:17 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 13:17:50 +0000 (15:17 +0200)
client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
client/src/sass/include/_mixins.scss

index 56a637a82291f34adc0365da7e6c95fec9914361..f047bb4110569f9216ae912ed9c0a3c3e7cbc25f 100644 (file)
 }
 
 @media screen and (max-width: 800px) {
+  .video-channels-header {
+    text-align: center;
+  }
+
   .video-channel {
     flex-direction: column;
     height: auto;
     text-align: center;
 
+    .video-channel-names {
+      justify-content: center;
+    }
+
     img {
       margin-right: 0;
     }
index 1f22aec71bbda9a97006a59f0bf9f00de54533cb..65c0c8bb2fb7192aae89478f0335682e5cdda882 100644 (file)
     height: auto;
     text-align: center;
 
+    .video-info-name {
+      margin: auto;
+    }
+
     input[type=checkbox] {
       display: none;
     }
index 3904751c228c3486d6a8693943ade089dbd172e2..9f8346950181dbb3bae0c4d7073bcdc3d1e12656 100644 (file)
   @include orange-button;
 
   .icon.icon-add {
-    @include icon(22px);
+    @include icon(20px);
 
-    margin-right: 3px;
+    position: relative;
+    top: -1px;
+    margin-right: 5px;
     background-image: url($imageUrl);
   }
 }