From: Mélanie Chauvel (ariasuni) Date: Thu, 5 Mar 2020 14:52:15 +0000 (+0100) Subject: [Glitch] Add tooltips to audio/video player buttons X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=eae96cb204a5678a0b321125a8d616d2c6beb846;p=mastodon.git [Glitch] Add tooltips to audio/video player buttons Port 036ba3f51065a96cb9203a9ac5aa71d7d6edeebe to glitch-soc Signed-off-by: Thibaut Girka --- diff --git a/app/javascript/flavours/glitch/features/audio/index.js b/app/javascript/flavours/glitch/features/audio/index.js index 033d92adf..49e91227f 100644 --- a/app/javascript/flavours/glitch/features/audio/index.js +++ b/app/javascript/flavours/glitch/features/audio/index.js @@ -199,8 +199,8 @@ class Audio extends React.PureComponent {
- - + +
  @@ -221,7 +221,7 @@ class Audio extends React.PureComponent {
- - + + +
 
@@ -512,16 +513,11 @@ class Video extends React.PureComponent {
- {(!onCloseVideo && !editable && !fullscreen) && } - {(!fullscreen && onOpenVideo) && } - {onCloseVideo && } - - - + {(!onCloseVideo && !editable && !fullscreen) && } + {(!fullscreen && onOpenVideo) && } + {onCloseVideo && } + +