From 5d7eded8090f160c51cc9b632b2841af7d48709f Mon Sep 17 00:00:00 2001
From: Daniel Calviño Sánchez <danxuliu@gmail.com>
Date: Wed, 24 Jan 2018 16:27:51 +0100
Subject: Fix missing clipboard icon in shared links
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The clipboard icon in shared links appears either directly on the link
input field or, if any social sharing app is enabled, in a menu. The
clipboard icon uses the same CSS rules as other icons (like the
information icon) to be posioned on the end of the input field, and
those rules have to be "cancelled" when the icon is shown in the menu.

Fixes #7990

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
---
 apps/files_sharing/css/sharetabview.scss | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'apps')

diff --git a/apps/files_sharing/css/sharetabview.scss b/apps/files_sharing/css/sharetabview.scss
index 6635546067b..f3bbd952c2d 100644
--- a/apps/files_sharing/css/sharetabview.scss
+++ b/apps/files_sharing/css/sharetabview.scss
@@ -14,6 +14,7 @@
 }
 
 .shareTabView .shareWithRemoteInfo,
+.shareTabView .clipboardButton,
 .shareTabView .linkPass .icon-loading-small {
 	position: absolute;
 	right: -7px;
@@ -37,6 +38,7 @@
 	position: relative;
 	top: initial;
 	right: initial;
+	padding: 0;
 }
 
 .shareTabView label {
-- 
cgit v1.2.3