aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/repo.css
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-24 23:46:30 +0800
committerGitHub <noreply@github.com>2023-08-24 23:46:30 +0800
commit390ec619f3fe04ad6c91c52813bc17d9963d5322 (patch)
tree5af191f7513703c83a143e4fbba6f83a5bc820a5 /web_src/css/repo.css
parent8ac83043f5bd53cf6094fe026f27004dcd3b67c5 (diff)
downloadgitea-390ec619f3fe04ad6c91c52813bc17d9963d5322.tar.gz
gitea-390ec619f3fe04ad6c91c52813bc17d9963d5322.zip
Fix review bar misalignment (#26711)
Diffstat (limited to 'web_src/css/repo.css')
-rw-r--r--web_src/css/repo.css16
1 files changed, 6 insertions, 10 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index 03e9019b25..414bd1d201 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -1625,10 +1625,11 @@
}
.diff-detail-actions {
- /* prevent font-size from increasing element height so that .diff-detail-box comes
- out with height of 47px (one line) and 77px (two lines), which is important for
- position: sticky */
- height: 33px;
+ display: flex;
+ align-items: center;
+ gap: 0.25em;
+ flex-wrap: wrap;
+ justify-content: end;
}
.diff-detail-actions > *,
@@ -1642,12 +1643,7 @@
padding-top: 0.25rem;
}
.repository .diff-detail-box .diff-detail-actions .ui.button:not(.btn-submit) {
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- text-align: center;
+ padding: 0 0.5rem;
}
}