From 7b70588a1dd5b5c9ba23eae5db42e7236cb25dbe Mon Sep 17 00:00:00 2001 From: Philip Karpiak Date: Thu, 10 Nov 2016 10:54:19 -0500 Subject: Give search-input correct padding-right value Because 'padding: 0' was being applied to this rule after 'padding-right: 20px' was declared, the former overruled the latter, causing search-input text to clip through the close button on the right of the search form --- app/assets/stylesheets/pages/search.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/stylesheets/pages/search.scss') diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss index b4761df3f23..08737739f42 100644 --- a/app/assets/stylesheets/pages/search.scss +++ b/app/assets/stylesheets/pages/search.scss @@ -28,10 +28,10 @@ } .search-input { - padding-right: 20px; border: none; font-size: 14px; padding: 0; + padding-right: 20px; margin-left: 5px; line-height: 25px; width: 98%; -- cgit v1.2.1 From a2e67b7d06af6f03d5d65f54db49b2e9c474fc98 Mon Sep 17 00:00:00 2001 From: Philip Karpiak Date: Mon, 14 Nov 2016 10:45:35 -0500 Subject: Use shorthand property for padding fix --- app/assets/stylesheets/pages/search.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/assets/stylesheets/pages/search.scss') diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss index 08737739f42..6171a582e85 100644 --- a/app/assets/stylesheets/pages/search.scss +++ b/app/assets/stylesheets/pages/search.scss @@ -30,8 +30,7 @@ .search-input { border: none; font-size: 14px; - padding: 0; - padding-right: 20px; + padding: 0 20px 0 0; margin-left: 5px; line-height: 25px; width: 98%; -- cgit v1.2.1