diff options
author | Muhammed TİFTİKÇİ <muhammedtiftikci@outlook.com> | 2019-03-05 06:13:51 +0300 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-04 22:13:51 -0500 |
commit | 4512634604e17734f0111c10efe377c7400cf577 (patch) | |
tree | 214493c303c4e39968f2570c2c0a3b946539cf5d /public/less/_base.less | |
parent | f066bd2b3f53ff044caefdd1bf3e2a82fa76a20e (diff) | |
download | gitea-4512634604e17734f0111c10efe377c7400cf577.tar.gz gitea-4512634604e17734f0111c10efe377c7400cf577.zip |
Make organization dropdown scrollable when using mouse wheel (#5988)
* Fix #5580
Diffstat (limited to 'public/less/_base.less')
-rw-r--r-- | public/less/_base.less | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 51e227b06c..bdf25b71ce 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -396,33 +396,12 @@ pre, code { } -.overflow.menu { - .items { - max-height: 300px; - overflow-y: auto; - .item { - position: relative; - cursor: pointer; - display: block; - border: none; - height: auto; - border-top: none; - line-height: 1em; - color: rgba(0,0,0,.8); - padding: .71428571em 1.14285714em !important; - font-size: 1rem; - text-transform: none; - font-weight: 400; - box-shadow: none; - -webkit-touch-callout: none; - &.active { - font-weight: 700; - } - &:hover { - background: rgba(0,0,0,.05); - color: rgba(0,0,0,.8); - z-index: 13; - } +.ui.floating.dropdown { + .overflow.menu { + .scrolling.menu.items { + border-radius: 0px !important; + box-shadow: none !important; + border-bottom: 1px solid rgba(34, 36, 38, 0.15); } } } |