diff options
author | zeripath <art27@cantab.net> | 2022-02-04 15:21:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 23:21:51 +0800 |
commit | 3c7374106e37f071b1570ae2a6be02c8c7fb4a2b (patch) | |
tree | 5af527e4144ab0d99096a922ff21ed9523ba2c5b /web_src/less | |
parent | 319d191afc7b2f4e179156869fe97b264c572bb9 (diff) | |
download | gitea-3c7374106e37f071b1570ae2a6be02c8c7fb4a2b.tar.gz gitea-3c7374106e37f071b1570ae2a6be02c8c7fb4a2b.zip |
Ensure commit-statuses box is sized correctly in headers (#18538)
* Ensure commit-statuses box is sized correctly in headers
When viewing commits as commits the commit-status box will be fixed at 30px in height
due to being forced to be this size by a fomantic selector. This PR simply adds a
few more selectors to force this to have height auto.
Fix #18498
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update web_src/less/_repository.less
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_repository.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 76ca5dff7d..6cce0ec66f 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -4,6 +4,13 @@ // otherwise some part of the popup will be hidden by viewport boundary max-height: 45vh; max-width: 60vw; + + & .ui.right { + // Override `.ui.attached.header .right:not(.dropdown) height: 30px;` which would otherwise lead to + // the status popup box having its height fixed at 30px. See https://github.com/go-gitea/gitea/issues/18498 + height: auto; + } + overflow: auto; padding: 0; |