mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-04 15:54:57 +00:00
enhance(ui): make the merge box more compact (#40562)
Compress the spacing inside the merge box check list a bit. | Before | After | | --- | --- | | <img width="356" height="287" alt="Merge box before" src="https://github.com/user-attachments/assets/de88c23c-8162-436d-9fe3-e9eb26bf34f6" /> | <img width="356" height="287" alt="Merge box after" src="https://github.com/user-attachments/assets/c67179c5-4500-48f4-b9af-f32916f40a15" /> | Assisted-by: Claude Code:claude-opus-5-5 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
1 parent
943eb1073d
commit
439598a5d2
2 files changed
+9
-2
No files matched your search
@@ -1677,12 +1677,15 @@ tbody.commit-list {
|
||||
padding-bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25em;
|
||||
gap: var(--gap-inline);
|
||||
}
|
||||
|
||||
.ui.dropdown.branch-selector-dropdown .menu .item {
|
||||
min-height: 30px;
|
||||
padding: 0 10px !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--gap-inline);
|
||||
}
|
||||
|
||||
.branch-selector-dropdown .ui.button.branch-dropdown-button {
|
||||
|
||||
@@ -76,14 +76,18 @@
|
||||
}
|
||||
|
||||
.merge-box-checks-group > .btn {
|
||||
margin: 3px 0;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.merge-box-checks .commit-status-item {
|
||||
height: 37px;
|
||||
padding-inline: 8px;
|
||||
}
|
||||
|
||||
.merge-box-checks .ui.label {
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.merge-box-checks .commit-status-item:hover {
|
||||
background: var(--color-hover);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user