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 /public | |
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 'public')
-rw-r--r-- | public/css/index.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css index dd87c2f133..a267a0d475 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -248,6 +248,7 @@ i.icon.centerlock{top:1.5em} .lines-commit .ui.avatar.image{height:18px;width:18px} .lines-code .bottom-line,.lines-commit .bottom-line,.lines-num .bottom-line{border-bottom:1px solid #eaecef} .code-view{overflow:auto;overflow-x:auto;overflow-y:hidden} +.code-view.has-context-menu{overflow:visible;overflow-x:visible;overflow-y:visible} .code-view :not(.fa):not(.octicon):not(.icon){font-size:12px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace;line-height:20px} .code-view table{width:100%} .code-view .active{background:#fff866} @@ -572,7 +573,8 @@ i.icon.centerlock{top:1.5em} .repository.view.issue .comment-list .timeline-line:before{display:block;content:"";position:absolute;margin-top:12px;margin-bottom:14px;top:0;bottom:0;left:82px;width:2px;background-color:#f3f3f3;z-index:-1} .repository.view.issue .comment-list .comment .avatar{width:3em} .repository.view.issue .comment-list .comment .tag{color:#767676;margin-top:3px;padding:2px 5px;font-size:12px;border:1px solid rgba(0,0,0,.1);border-radius:3px} -.repository.view.issue .comment-list .comment .tag.pending{color:#000;background-color:#fffbb2;margin-left:5px} +.repository.view.issue .comment-list .comment .tag.review{margin-left:5px} +.repository.view.issue .comment-list .comment .tag.review.pending{color:#000;background-color:#fffbb2} .repository.view.issue .comment-list .comment .actions .item{float:left} .repository.view.issue .comment-list .comment .actions .item.context{float:none} .repository.view.issue .comment-list .comment .actions .item.tag{margin-right:5px} |