diff options
author | Mike L <cl.jeremy@qq.com> | 2021-03-14 15:48:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 14:48:28 +0000 |
commit | 9566c9f0c766811883b7b4220594e78e100eca1d (patch) | |
tree | 7ec29f916601d2c6141f5f5d4afa68eaec998d5d /web_src/less/_repository.less | |
parent | f5aaa74b90c36249ebab5a9ba380c28fef92e003 (diff) | |
download | gitea-9566c9f0c766811883b7b4220594e78e100eca1d.tar.gz gitea-9566c9f0c766811883b7b4220594e78e100eca1d.zip |
Re-enable listing of forks when logged out (#14992)
* Re-enable listing of forks when logged out
* Further improvements on repo button logic
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 0984dd7cf3..5a8476322c 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2856,14 +2856,25 @@ tbody.commit-list { align-items: center; } -.repo-buttons button[disabled], .repo-buttons button[disabled] ~ .label { opacity: var(--opacity-disabled); } -.repo-buttons .ui.labeled.button > .label { - border-left: 0 !important; - margin: 0 !important; +.repo-buttons .ui.labeled.button { + cursor: initial; + + > .label { + border-left: 0 !important; + margin: 0 !important; + } + + &.disabled { + pointer-events: inherit !important; + + > .button { + pointer-events: none !important; + } + } } .tag-code { |