From 4bfa0b7e5b32a5d3a31d9162748f9bd1cc076521 Mon Sep 17 00:00:00 2001 From: Aris Feryanto Date: Mon, 25 Jul 2011 14:52:57 +0800 Subject: [PATCH] Grid edit: remove drop down arrow in text input box --- js/makegrid.js | 2 +- themes/original/css/theme_right.css.php | 4 ++-- themes/pmahomme/css/theme_right.css.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/makegrid.js b/js/makegrid.js index 3279070465..c2c994585b 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -471,7 +471,7 @@ .show() .find('input') .css({ - width: $cell.outerWidth() - 16, + width: $cell.outerWidth(), height: $cell.outerHeight() }); // fill the cell edit with text from , if it is not null diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index b881bd421c..bf3b2b8429 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -2465,10 +2465,10 @@ span.mysql-number { } .cEdit input[type=text] { - background: #FFF url(getImgPath(); ?>b_more.png) no-repeat right; + background: #FFF; height: 100%; margin: 0; - padding: 0 16px 0 0; + padding: 0; } .cEdit .edit_area { diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index 061090a01c..5454f53c30 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -2876,10 +2876,10 @@ span.mysql-number { } .cEdit input[type=text] { - background: #FFF url(./themes/pmahomme/img/b_more.png) no-repeat right; + background: #FFF; height: 100%; margin: 0; - padding: 0 16px 0 0; + padding: 0; } .cEdit .edit_area {