diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-12-02 17:03:30 -0600 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-12-03 01:03:30 +0200 |
commit | 51432ebb9c6f59c618ff34147f4b644c8bfb52f5 (patch) | |
tree | bff038fd3f7040a68c4b5d1122c715ee32b31cd3 /web_src/less | |
parent | a00d7200b12909ca4c6145f5524234c8660c84ce (diff) | |
download | gitea-51432ebb9c6f59c618ff34147f4b644c8bfb52f5.tar.gz gitea-51432ebb9c6f59c618ff34147f4b644c8bfb52f5.zip |
Fix context menu overflow & review tag margin (#9231)
* Fix context menu overflow
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add review tag CSS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_base.less | 6 | ||||
-rw-r--r-- | web_src/less/_repository.less | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index a39977065d..0fb12878ff 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1092,6 +1092,12 @@ i.icon.centerlock { overflow-x: auto; overflow-y: hidden; + &.has-context-menu { + overflow: visible; + overflow-x: visible; + overflow-y: visible; + } + *:not(.fa):not(.octicon):not(.icon) { font-size: 12px; font-family: @monospaced-fonts, monospace; diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 1b47de8a1b..b1ac049b2e 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -737,10 +737,12 @@ font-size: 12px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 3px; - &.pending { - color: black; - background-color: #fffbb2; + &.review { margin-left: 5px; + &.pending { + color: black; + background-color: #fffbb2; + } } } |