From 1ee156b2c5e1a7354fb843d99c17761bcc733580 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Jun 2018 09:51:36 +0200 Subject: Add margin for http fallback display --- client/src/assets/player/webtorrent-info-button.ts | 2 +- client/src/sass/player/peertube-skin.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src') diff --git a/client/src/assets/player/webtorrent-info-button.ts b/client/src/assets/player/webtorrent-info-button.ts index 10945c665..1296aca3b 100644 --- a/client/src/assets/player/webtorrent-info-button.ts +++ b/client/src/assets/player/webtorrent-info-button.ts @@ -57,7 +57,7 @@ class WebtorrentInfoButton extends Button { className: 'vjs-peertube-hidden' }) const subDivHttpText = videojsUntyped.dom.createEl('span', { - className: 'peers-number', + className: 'http-fallback', textContent: 'HTTP' }) diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index df71055ad..185b00222 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -258,11 +258,11 @@ display: none; } - .download-speed-number, .upload-speed-number, .peers-number { + .download-speed-number, .upload-speed-number, .peers-number, .http-fallback { font-weight: $font-semibold; } - .download-speed-text, .upload-speed-text, .peers-text { + .download-speed-text, .upload-speed-text, .peers-text, .http-fallback { margin-right: 15px; } -- cgit v1.2.3