mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-19 23:53:56 +02:00
refactor: issue comment context menu and buttons (#39771)
1. Support show "Quote reply" shortcut in help menu, fix the TODO 2. Help #36862 to reuse existing "issue/comment context menu"
This commit is contained in:
1 parent
b015cd67e2
commit
ccc9b928fe
16 files changed
+205
-191
No files matched your search
@@ -131,20 +131,21 @@
|
||||
max-width: calc(100vw - 70px); /* leave enough space on left, and align the page content */
|
||||
}
|
||||
|
||||
#review-box {
|
||||
.ui.button.review-box-button {
|
||||
position: relative;
|
||||
padding-right: 0.5em !important; /* override .repository .diff-detail-box .ui.button */
|
||||
}
|
||||
|
||||
#review-box .review-comments-counter {
|
||||
.review-box-button .review-comments-counter {
|
||||
background-color: var(--color-primary-light-4);
|
||||
color: var(--color-primary-contrast);
|
||||
}
|
||||
|
||||
#review-box:hover .review-comments-counter {
|
||||
.review-box-button:hover .review-comments-counter {
|
||||
background-color: var(--color-primary-light-5);
|
||||
}
|
||||
|
||||
#review-box .review-comments-counter[data-pending-comment-number="0"] {
|
||||
.review-box-button .review-comments-counter[data-pending-comment-number="0"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user