1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix review bar misalignment (#26711)

This commit is contained in:
wxiaoguang
2023-08-24 23:46:30 +08:00
committed by GitHub
parent 8ac83043f5
commit 390ec619f3
2 changed files with 7 additions and 11 deletions

View File

@@ -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;
}
}