diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-04-13 00:24:49 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-04-13 00:24:49 +0000 |
commit | d7a527163b64fa38e46fc6195fef2f5d93e47d07 (patch) | |
tree | 0f0694c56278f855c5d77e092e32974f7b0ce58e /app/assets | |
parent | 75af8d9232839aad78c23874ac36894d6a0730f5 (diff) | |
parent | ae5c16f777552b8545bd81903cea9b6070227fc7 (diff) | |
download | gitlab-ce-d7a527163b64fa38e46fc6195fef2f5d93e47d07.tar.gz |
Merge branch '30642-fix-recent-search-history-icon-alignment-in-safari' into 'master'
Fix recent searches icon alignment in Safari
Closes #30642
See merge request !10606
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/framework/filters.scss | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/app/assets/stylesheets/framework/filters.scss b/app/assets/stylesheets/framework/filters.scss index 279a50eaa33..11d44df4867 100644 --- a/app/assets/stylesheets/framework/filters.scss +++ b/app/assets/stylesheets/framework/filters.scss @@ -246,17 +246,17 @@ } } -.filtered-search-history-dropdown-toggle-button { +.filtered-search-history-dropdown-wrapper { + position: static; display: flex; - align-items: center; + flex-direction: column; +} + +.filtered-search-history-dropdown-toggle-button { + flex: 1; width: auto; - height: 100%; - padding-top: 0; - padding-left: 0.75em; - padding-bottom: 0; - padding-right: 0.5em; + padding-right: 10px; - background-color: transparent; border-radius: 0; border-top: 0; border-left: 0; @@ -264,6 +264,7 @@ border-right: 1px solid $border-color; color: $gl-text-color-secondary; + line-height: 1; transition: color 0.1s linear; @@ -275,24 +276,21 @@ } .dropdown-toggle-text { + display: inline-block; color: inherit; .fa { + vertical-align: middle; color: inherit; } } .fa { - position: initial; + position: static; } } -.filtered-search-history-dropdown-wrapper { - position: initial; - flex-shrink: 0; -} - .filtered-search-history-dropdown { width: 40%; |