diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-07-31 18:50:34 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-07-31 18:50:34 +0000 |
commit | f3b21d5735d6ea7b1f795196bd96994f1c13b55a (patch) | |
tree | b16a838480a8e69f62bd598d8a3462a6d963d149 | |
parent | 290045ad3eb3e5942b49ab0a4c30472bdc77445b (diff) | |
parent | 8bcfdebf650dee1aec35192bee5ab45b9d6cbd44 (diff) | |
download | gitlab-ce-f3b21d5735d6ea7b1f795196bd96994f1c13b55a.tar.gz |
Merge branch 'winh-repository-dropdown-style' into 'master'
Make dropdown style on repository page consistent
See merge request !13184
-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 { |