diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-06-02 14:57:50 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-06-02 14:57:50 +0000 |
commit | 879a2f8148e17022d8df9e0b73408dda59c1c471 (patch) | |
tree | aa477d93272b956a831c171156e05f6c1ab4f392 /app/assets/stylesheets | |
parent | 5accd87ad7b0d960e504910d896a832288e51c8d (diff) | |
parent | a29b45b061a0f2669818fde8fa324baac92b1d71 (diff) | |
download | gitlab-ce-879a2f8148e17022d8df9e0b73408dda59c1c471.tar.gz |
Merge branch 'search-box-blur' into 'master'
Clicking search pill focuses field
When clicking the pill in the search field, it now focus the field. Previously you would have to make sure you click in the field.
Fixed an issue where clicking out of the field wouldn't remove the focus
outline
Also reduced some of the HTML to remove what isn't needed
See merge request !4279
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/pages/search.scss | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss index 2bff70c8c64..037ad520545 100644 --- a/app/assets/stylesheets/pages/search.scss +++ b/app/assets/stylesheets/pages/search.scss @@ -28,6 +28,7 @@ } .search-input { + padding-right: 20px; border: none; font-size: 14px; outline: none; @@ -47,6 +48,7 @@ display: inline-block; background-color: $location-badge-bg; vertical-align: top; + cursor: default; } .search-input-container { @@ -55,7 +57,7 @@ position: relative; } - .search-location-badge, .search-input-wrap { + .search-input-wrap { // Fallback if flexbox is not supported display: inline-block; } |