From 13aae43d89389d19b750ff036294e5c2e61f9d8d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 14 Mar 2017 22:50:32 -0600 Subject: [PATCH] Fix layout of sharing buttons Signed-off-by: Morris Jobke --- apps/files_sharing/css/sharetabview.css | 8 +++++++ core/js/sharedialoglinkshareview.js | 31 ++++++++++++++----------- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/apps/files_sharing/css/sharetabview.css b/apps/files_sharing/css/sharetabview.css index 5896e18abad..6fd2b9b3165 100644 --- a/apps/files_sharing/css/sharetabview.css +++ b/apps/files_sharing/css/sharetabview.css @@ -28,8 +28,16 @@ padding: 14px; } +/* fix the popup menu because the button is shifted and then the menu is not aligned */ +.shareTabView .popovermenu.socialSharingMenu { + right: -7px; +} + .shareTabView .popovermenu .clipboardButton { position: relative; + top: initial; + right: initial; + padding: 18px 0 18px 36px; } .shareTabView label { diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index dc8644ab4cd..e7bea516be0 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -70,22 +70,21 @@ '{{/if}}' ; var TEMPLATE_POPOVER_MENU = - '