From c05ea8cfc3ee74fd7af8fb8e73f1f1fc992e8c13 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 20 Dec 2012 11:14:27 +0100 Subject: [PATCH] fix file actions messing with file row height on narrower screens --- apps/files/css/files.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index dbddaf695f..66a24e0a15 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -94,7 +94,15 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; } } #select_all { float:left; margin:.3em 0.6em 0 .5em; } #uploadsize-message,#delete-confirm { display:none; } -.fileactions { position:relative; top:.3em; font-size:.8em; float:right; } + +/* File actions */ +.fileactions { + position:absolute; top:.6em; right:0; + font-size:.8em; +} +#fileList tr:hover .fileactions { /* background to distinguish when overlaying with file names */ + background:rgba(248, 248, 248,.9); box-shadow:-5px 0 7px rgba(248,248,248,.9); +} #fileList .fileactions a.action img { position:relative; top:.2em; } #fileList a.action { display:inline; margin:-.5em 0; padding:1em .5em 1em .5em !important; } a.action.delete { float:right; }