mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-07 23:24:03 +02:00
Fix button layout shift when collapsing file tree in editor (#37363)
Also fix misc discovered issues. Signed-off-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
4695110d5f
commit
32fdfb0bd6
@ -1,6 +1,7 @@
|
|||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -199,18 +199,19 @@ td .commit-summary {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.repo-editor-header {
|
.repo-editor-header {
|
||||||
|
/* it should match ".repo-button-row" so the tree toggle button stays aligned */
|
||||||
|
margin: 8px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 1rem 0;
|
|
||||||
padding: 3px 0;
|
|
||||||
width: 100%;
|
|
||||||
gap: 0.5em;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repo-editor-header input {
|
.repo-editor-header input {
|
||||||
vertical-align: middle !important;
|
vertical-align: middle !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
padding: 7px 8px !important;
|
height: 30px !important;
|
||||||
|
padding: 5px 8px !important;
|
||||||
margin-right: 5px !important;
|
margin-right: 5px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user