summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Karpiak <philip@eswat.ca>2016-11-10 10:54:19 -0500
committerPhilip Karpiak <philip@eswat.ca>2016-11-10 11:01:55 -0500
commit7b70588a1dd5b5c9ba23eae5db42e7236cb25dbe (patch)
treea700afa934322ff783b57c685911c941560c2fa3
parent0c99e5d0b6b457ef7db2c36f1394fad5c63d1142 (diff)
downloadgitlab-ce-7b70588a1dd5b5c9ba23eae5db42e7236cb25dbe.tar.gz
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
-rw-r--r--app/assets/stylesheets/pages/search.scss2
-rw-r--r--changelogs/unreleased/fix-search-input-padding.yml4
2 files changed, 5 insertions, 1 deletions
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%;
diff --git a/changelogs/unreleased/fix-search-input-padding.yml b/changelogs/unreleased/fix-search-input-padding.yml
new file mode 100644
index 00000000000..5d559d05d73
--- /dev/null
+++ b/changelogs/unreleased/fix-search-input-padding.yml
@@ -0,0 +1,4 @@
+---
+title: Give search-input correct padding-right value
+merge_request: 7407
+author: Philip Karpiak