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:
bytedream
2026-04-22 20:46:25 +02:00
committed by GitHub
parent 4695110d5f
commit 32fdfb0bd6
2 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
.breadcrumb {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 3px;
overflow-wrap: anywhere;
}

View File

@@ -199,18 +199,19 @@ td .commit-summary {
}
.repo-editor-header {
/* it should match ".repo-button-row" so the tree toggle button stays aligned */
margin: 8px 0;
display: flex;
margin: 1rem 0;
padding: 3px 0;
width: 100%;
gap: 0.5em;
align-items: center;
gap: 8px;
width: 100%;
}
.repo-editor-header input {
vertical-align: middle !important;
width: auto !important;
padding: 7px 8px !important;
height: 30px !important;
padding: 5px 8px !important;
margin-right: 5px !important;
}