]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix_#11348 Safari rename button positioning
authorSergei Shuykov <n1nj4p0w3r@gmail.com>
Mon, 12 Jan 2015 14:08:15 +0000 (17:08 +0300)
committerSugaroverdose <n1nj4p0w3r@gmail.com>
Fri, 16 Jan 2015 11:43:34 +0000 (14:43 +0300)
apps/files/css/files.css
apps/files/js/fileactions.js

index 5b947fa326cb051938a7cc72578e0535cb9c4a17..74227216bfabb8b1492b406809adfdd2247b5b8f 100644 (file)
@@ -305,7 +305,6 @@ table td.filename .nametext .innernametext {
        text-overflow: ellipsis;
        overflow: hidden;
        position: relative;
-       display: inline-block;
 }
 
 @media only screen and (min-width: 1366px) {
@@ -518,9 +517,9 @@ a.action>img {
 
 #fileList a.action[data-action="Rename"] {
        padding: 16px 14px 17px !important;
-       position: relative;
-       top: -21px;
 }
+
+.ie8 #fileList a.action img,
 #fileList tr:hover a.action,
 #fileList a.action.permanent,
 #fileList tr:focus a.action,
@@ -531,6 +530,7 @@ a.action>img {
        opacity: .5;
        display:inline;
 }
+.ie8 #fileList a.action:hover img,
 #fileList tr:hover a.action:hover,
 #fileList tr:focus a.action:focus,
 #fileList .name:focus a.action:focus {
@@ -625,4 +625,4 @@ table.dragshadow td.size {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
        filter: alpha(opacity=50);
        opacity: .5;
-}
\ No newline at end of file
+}
index 9412e510a545f29005a293eafebe91fd4e8fb1fc..b335f1f64324d78bcf8621fd3983c0d973a799fa 100644 (file)
                                html += '<img class="svg" alt="" src="' + img + '" />';
                        }
                        if (actionSpec.displayName) {
-                               html += '<span> ' + actionSpec.displayName + '</span></a>';
+                               html += '<span> ' + actionSpec.displayName + '</span>';
                        }
+                       html += '</a>';
 
                        return $(html);
                },