diff options
author | zeripath <art27@cantab.net> | 2020-04-30 02:59:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 09:59:47 +0800 |
commit | cbf5dffaf29c1e871342c15478b33e9229a7f9d2 (patch) | |
tree | 54c41acd3542df7f0946024c2240550ba0319f50 /web_src/less/_base.less | |
parent | 33738ff91b9e9b87b10e1fb715cf855007770002 (diff) | |
download | gitea-cbf5dffaf29c1e871342c15478b33e9229a7f9d2.tar.gz gitea-cbf5dffaf29c1e871342c15478b33e9229a7f9d2.zip |
Fix submit review form (#11252)
* Fix submit review form
Signed-off-by: Andrew Thornton <art27@cantab.net>
* placate lint
Signed-off-by: Andrew Thornton <art27@cantab.net>
* try something different
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update web_src/less/_base.less
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r-- | web_src/less/_base.less | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index d2b1b6e66b..6241ad5072 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1231,12 +1231,21 @@ i.icon.centerlock { /* limit width of all direct dropdown menu children */ /* https://github.com/go-gitea/gitea/pull/10835 */ -.dropdown:not(.selection) > .menu > * { +.dropdown:not(.selection) > .menu:not(.review-box) > * { max-width: 300px; overflow-x: hidden; text-overflow: ellipsis; } +.dropdown:not(.selection) > .menu.review-box > * { + @media only screen and (max-height: 700px) { + .CodeMirror, + .CodeMirror-scroll { + min-height: 100px; + } + } +} + .text-label { display: inline-flex !important; align-items: center !important; |