aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-18 09:51:36 +0200
committerChocobozzz <me@florianbigard.com>2018-06-18 10:26:19 +0200
commit1ee156b2c5e1a7354fb843d99c17761bcc733580 (patch)
treeade2725e92965c6ebd5ff98e7c67297ae34fd57b
parent7b3a99d51716e404bdea0cef8d1f994aab0e8aac (diff)
downloadPeerTube-1ee156b2c5e1a7354fb843d99c17761bcc733580.tar.gz
PeerTube-1ee156b2c5e1a7354fb843d99c17761bcc733580.tar.zst
PeerTube-1ee156b2c5e1a7354fb843d99c17761bcc733580.zip
Add margin for http fallback display
-rw-r--r--client/src/assets/player/webtorrent-info-button.ts2
-rw-r--r--client/src/sass/player/peertube-skin.scss4
2 files changed, 3 insertions, 3 deletions
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 {
57 className: 'vjs-peertube-hidden' 57 className: 'vjs-peertube-hidden'
58 }) 58 })
59 const subDivHttpText = videojsUntyped.dom.createEl('span', { 59 const subDivHttpText = videojsUntyped.dom.createEl('span', {
60 className: 'peers-number', 60 className: 'http-fallback',
61 textContent: 'HTTP' 61 textContent: 'HTTP'
62 }) 62 })
63 63
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 @@
258 display: none; 258 display: none;
259 } 259 }
260 260
261 .download-speed-number, .upload-speed-number, .peers-number { 261 .download-speed-number, .upload-speed-number, .peers-number, .http-fallback {
262 font-weight: $font-semibold; 262 font-weight: $font-semibold;
263 } 263 }
264 264
265 .download-speed-text, .upload-speed-text, .peers-text { 265 .download-speed-text, .upload-speed-text, .peers-text, .http-fallback {
266 margin-right: 15px; 266 margin-right: 15px;
267 } 267 }
268 268