diff options
author | a1012112796 <1012112796@qq.com> | 2023-08-14 23:14:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 15:14:30 +0000 |
commit | 19872063a3c14256a1d89b2a104d63e7538a3a28 (patch) | |
tree | dcdfb5ffa923fb0f66d5e0b4b94f890be3e9fdf5 /web_src/css/base.css | |
parent | 253737eb364192e31c8be1fc9bd9581331ca37a9 (diff) | |
download | gitea-19872063a3c14256a1d89b2a104d63e7538a3a28.tar.gz gitea-19872063a3c14256a1d89b2a104d63e7538a3a28.zip |
add disable workflow feature (#26413)
As title, that's simmilar with github.
![image](https://github.com/go-gitea/gitea/assets/25342410/9e8b2444-63e0-4e87-80da-730c1e4d09d6)
![image](https://github.com/go-gitea/gitea/assets/25342410/6c3a3345-3ba7-48c9-9acd-3e621632491b)
---------
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Jason Song <i@wolfogre.com>
Diffstat (limited to 'web_src/css/base.css')
-rw-r--r-- | web_src/css/base.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index d44f949318..eca08fa1b9 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -653,6 +653,18 @@ a.label, color: var(--color-text); } +/* replace item margin on secondary menu items with gap and remove both the + negative margins on the menu as well as margin on the items */ +.ui.secondary.menu { + margin-left: 0; + margin-right: 0; + gap: .35714286em; +} +.ui.secondary.menu .item { + margin-left: 0; + margin-right: 0; +} + .ui.secondary.menu .dropdown.item:hover, .ui.secondary.menu a.item:hover { color: var(--color-text); @@ -670,6 +682,11 @@ a.label, padding-right: 0.85714286em; } +/* remove the menu clearfix so that it won't add undesired gaps when using "gap" */ +.ui.menu::after { + content: normal; +} + .ui.menu .dropdown.item .menu { background: var(--color-body); } |