]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix issues with clipboard button for local link in sidebar
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 1 Nov 2018 03:11:20 +0000 (04:11 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 1 Nov 2018 03:11:20 +0000 (04:11 +0100)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
apps/files/css/detailsView.scss

index f64a3702850372bc5455182203c66e03418360fe..71062648c974972ba43dd2c7624dff635be0bc0f 100644 (file)
 
 #app-sidebar .mainFileInfoView .permalink {
        padding: 6px 10px;
-       vertical-align: text-top;
+       vertical-align: top;
+       opacity: .6;
+
+       &:hover,
+       &:focus {
+               opacity: 1;
+       }
 }
 #app-sidebar .mainFileInfoView .permalink-field>input {
        clear: both;
@@ -87,7 +93,7 @@
 }
 
 #app-sidebar .fileName h3 {
-       width: calc(100% - 36px); /* 36px is the with of the copy link icon */
+       width: calc(100% - 42px); /* 36px is the with of the copy link icon, but this breaks so we add some more to be sure */
        display: inline-block;
        padding: 5px 0;
        margin: -5px 0;