]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use consistent margins
authorChocobozzz <me@florianbigard.com>
Thu, 1 Jul 2021 15:47:21 +0000 (17:47 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 1 Jul 2021 16:05:08 +0000 (18:05 +0200)
client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.scss
client/src/sass/custom-markup.scss
shared/extra-utils/miscs/miscs.ts

index fd84780fed0fe85207eea04808d51c569bdc5a1a..39e8d2091e8e33c56999ceaf93f428264a710fbe 100644 (file)
@@ -4,7 +4,7 @@
 .channel {
   padding: 20px;
   background-color: pvar(--channelBackgroundColor);
-  margin: 0 30px 30px 0;
+  margin-bottom: 30px;
   width: fit-content;
 }
 
index d1729dbdaea4abc115dccbf27bc59a3d3b4801f2..cecc946a178ce145ae524a1f29209de80536202e 100644 (file)
@@ -18,3 +18,9 @@ peertube-container {
     }
   }
 }
+
+peertube-video-miniature,
+peertube-playlist-miniature,
+peertube-channel-miniature {
+  margin-right: 30px;
+}
index f20be8585186dd3813466c84e4e15774c9fd2cb8..462b914d41735ebc139defb4e34d288ba1ff49a8 100644 (file)
@@ -2,7 +2,7 @@
 
 import * as chai from 'chai'
 import * as ffmpeg from 'fluent-ffmpeg'
-import { ensureDir, exists, pathExists, readFile, stat } from 'fs-extra'
+import { ensureDir, pathExists, readFile, stat } from 'fs-extra'
 import { basename, dirname, isAbsolute, join, resolve } from 'path'
 import * as request from 'supertest'
 import * as WebTorrent from 'webtorrent'