From ce89f12566dff25981d5701a5f31a269dd1eae54 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 17 Mar 2015 15:29:36 +0100 Subject: [PATCH] add whitespace to prevent file deletion when wanting to scroll --- apps/files/css/files.css | 2 +- settings/css/settings.css | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 1d6b4ad9e0..d09df9d795 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -488,7 +488,7 @@ table td.filename .uploadtext { #fileList img.move2trash { display:inline; margin:-8px 0; padding:16px 8px 16px 8px !important; float:right; } #fileList a.action.delete { position: absolute; - right: 0; + right: 15px; padding: 17px 14px; } diff --git a/settings/css/settings.css b/settings/css/settings.css index e2349e9dd6..931c9a3533 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -99,10 +99,14 @@ span.usersLastLoginTooltip { white-space: nowrap; } display : none; } -td.remove { width:1em; padding-right:1em; } tr:hover>td.password>span, tr:hover>td.displayName>span { margin:0; cursor:pointer; } tr:hover>td.remove>a, tr:hover>td.password>img,tr:hover>td.displayName>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; } -tr:hover>td.remove>a { float:right; } +td.remove { + width: 25px; +} +tr:hover>td.remove>a { + float: left; +} div.recoveryPassword { left:50em; display:block; position:absolute; top:-1px; } input#recoveryPassword {width:15em;}