]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix margin issue when seeking video
authorChocobozzz <florian.bigard@gmail.com>
Tue, 21 Nov 2017 09:28:21 +0000 (10:28 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Mon, 27 Nov 2017 18:40:52 +0000 (19:40 +0100)
client/src/sass/video-js-custom.scss

index 6ad21988e5a2307fa200be92ff8a1a1669e236e2..34a958764677cb5fbbf0b5d96a3cf675d940201f 100644 (file)
@@ -334,9 +334,10 @@ $slider-bg-color: lighten($primary-background-color, 33%);
 
 // Thanks: https://projects.lukehaas.me/css-loaders/
 .vjs-loading-spinner {
-  margin: -25px 0 0 -25px;
+  margin: 0 !important;
   position: absolute;
-  top: 50%;
+  // 15px is the nav bar height
+  top: calc(50% - 15px);
   left: 50%;
   font-size: 10px;
   position: relative;