From 835913e45400e7c9894c49e1e35743205a92e0d8 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 11 Apr 2018 16:45:05 +0200 Subject: [PATCH] Fix file upload button does not cover its caption 100% --- api/templates/default/etemplate2.css | 2 +- pixelegg/css/mobile.css | 1 - pixelegg/css/pixelegg.css | 1 - pixelegg/less/etemplate2.less | 1 - pixelegg/mobile/fw_mobile.css | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index be8c9f915a..522c718d95 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -648,7 +648,7 @@ div.et2_file { } /* Customize file upload styling */ span.et2_file_span{ - display: block; + display: inline-block; background-position: 2px; background-image: url(images/attach.png); background-repeat: no-repeat; diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 39c19e5662..e41ac64162 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -250,7 +250,6 @@ } span.et2_file_span { background-image: url(../images/attach.png); - width: 145px; } span.et2_file_span img[url*="svg"] { background-color: #b4b4b4 !important; diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 1ada57eb20..208cf34a40 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -239,7 +239,6 @@ } span.et2_file_span { background-image: url(../images/attach.png); - width: 145px; } span.et2_file_span img[url*="svg"] { background-color: #b4b4b4 !important; diff --git a/pixelegg/less/etemplate2.less b/pixelegg/less/etemplate2.less index 926b7c2cca..cdface4022 100755 --- a/pixelegg/less/etemplate2.less +++ b/pixelegg/less/etemplate2.less @@ -206,7 +206,6 @@ span.et2_date span { } span.et2_file_span{ background-image: url(../images/attach.png); - width: 145px; .Complete_Button_save_apply_copy !important; } div.et2_file input.et2_file_upload{ diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 6c8cfd515b..46a355206e 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -261,7 +261,6 @@ } span.et2_file_span { background-image: url(../images/attach.png); - width: 145px; } span.et2_file_span img[url*="svg"] { background-color: #b4b4b4 !important;