From 81de19482b89342c3dbc098a9f512ef7f1056e45 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 21 Nov 2017 10:28:21 +0100 Subject: [PATCH] Fix margin issue when seeking video --- client/src/sass/video-js-custom.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss index 6ad21988e..34a958764 100644 --- a/client/src/sass/video-js-custom.scss +++ b/client/src/sass/video-js-custom.scss @@ -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; -- 2.25.1