about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/video/index.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-10-24 22:49:12 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-10-24 22:49:12 +0200
commitbcf694dce7536d29ede3c0865b00cb84f348b5e1 (patch)
treee6802ee112d676a437b45056eae95de5f8a37bc0 /app/javascript/mastodon/features/video/index.js
parentd3145ced1fc62a89454d775d79cb214904a0683a (diff)
Fix volume slider in chromium 🤷 (#12158)
Fixes #12156
Diffstat (limited to 'app/javascript/mastodon/features/video/index.js')
-rw-r--r--app/javascript/mastodon/features/video/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js
index 5fe4e956f..07051ddf3 100644
--- a/app/javascript/mastodon/features/video/index.js
+++ b/app/javascript/mastodon/features/video/index.js
@@ -470,6 +470,7 @@ class Video extends React.PureComponent {
               <button type='button' aria-label={intl.formatMessage(muted ? messages.unmute : messages.mute)} onClick={this.toggleMute}><Icon id={muted ? 'volume-off' : 'volume-up'} fixedWidth /></button>
 
               <div className='video-player__volume' onMouseDown={this.handleVolumeMouseDown} ref={this.setVolumeRef}>
+                &nbsp;
                 <div className='video-player__volume__current' style={{ width: `${volumeWidth}px` }} />
                 <span
                   className={classNames('video-player__volume__handle')}