summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSergei Shuykov <n1nj4p0w3r@gmail.com>2015-01-12 17:08:15 +0300
committerSugaroverdose <n1nj4p0w3r@gmail.com>2015-01-16 14:43:34 +0300
commit4d2ae71bf2bb6d5ac4179bcaca87a7ec13bb9d5f (patch)
tree1ff820223e93301af24c990f7ae22d8e295bf5bd /apps
parent5f7c115dfee58db718d0887562a5a8df8ccc7279 (diff)
downloadnextcloud-server-4d2ae71bf2bb6d5ac4179bcaca87a7ec13bb9d5f.tar.gz
nextcloud-server-4d2ae71bf2bb6d5ac4179bcaca87a7ec13bb9d5f.zip
fix_#11348 Safari rename button positioning
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.css8
-rw-r--r--apps/files/js/fileactions.js3
2 files changed, 6 insertions, 5 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 5b947fa326c..74227216bfa 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -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
+}
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 9412e510a54..b335f1f6432 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -247,8 +247,9 @@
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);
},