diff options
author | winh <winnie@gitlab.com> | 2017-07-31 12:02:45 +0300 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-07-31 12:06:36 +0300 |
commit | 8bcfdebf650dee1aec35192bee5ab45b9d6cbd44 (patch) | |
tree | 77c0084577a121655a35ce5ce967a0bae173b63b /app | |
parent | 9981814514742a2ee507d4dcc2fd71099fd96585 (diff) |
Make dropdown style on repository page consistent
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index dc88cf3e699..e0f46172769 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -202,6 +202,28 @@ } } } + + // TODO: fallback to global style + .dropdown-menu:not(.dropdown-menu-selectable) { + li { + padding: 0 1px; + + &.dropdown-header { + padding: 8px 16px; + } + + a { + border-radius: 0; + padding: 8px 16px; + + &:hover, + &:active, + &:focus { + background-color: $gray-darker; + } + } + } + } } .blob-commit-info { |