From eae96cb204a5678a0b321125a8d616d2c6beb846 Mon Sep 17 00:00:00 2001 From: "Mélanie Chauvel (ariasuni)" Date: Thu, 5 Mar 2020 15:52:15 +0100 Subject: [Glitch] Add tooltips to audio/video player buttons Port 036ba3f51065a96cb9203a9ac5aa71d7d6edeebe to glitch-soc Signed-off-by: Thibaut Girka --- .../flavours/glitch/features/audio/index.js | 6 +++--- .../flavours/glitch/features/video/index.js | 20 ++++++++------------ 2 files changed, 11 insertions(+), 15 deletions(-) (limited to 'app') 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 && } + +
-- cgit