diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-24 18:57:26 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-24 18:59:18 +0300 |
commit | a29b45b061a0f2669818fde8fa324baac92b1d71 (patch) | |
tree | 9e439a816bbd4ac45c3af6ab9c1472597a96d71b /app/assets/stylesheets/pages/search.scss | |
parent | 3b10a44f47d51f64f8ecc1d261c160a25ffc8e81 (diff) |
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
Diffstat (limited to 'app/assets/stylesheets/pages/search.scss')
-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; } |