From a4e91f94e217890f21013972e2971e07e850b717 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 29 Jan 2015 17:05:26 +0100 Subject: [PATCH] fix delete file with long filenames --- app/assets/stylesheets/zammad.css.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index d99623baf..a59689aa8 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -3655,6 +3655,7 @@ footer { font-size: 13px; padding: 1px 10px 1px 7px; cursor: default; + position: relative; } .attachment:hover { @@ -3679,10 +3680,12 @@ footer { } .attachment:hover .attachment-delete { - @extend .u-textTruncate; - padding-left: 7px; + padding: 0 10px 0 30px; + float: right; display: block; - min-width: 80px; + position: absolute; + right: 0; + background: linear-gradient(to right, hsla(200,20%,97%,0), hsla(200,20%,97%,1) 20px); } .attachment-delete .icon {