fix(codebase): fix left column padding and justification to align header with file tree

This commit is contained in:
2026-06-14 13:41:07 -07:00
parent 44bed63c28
commit e73efc24ba

View File

@@ -176,8 +176,8 @@ export default function CodeTab() {
style={{ style={{
padding: padding:
codebases.length > 1 codebases.length > 1
? "0 8px 16px 8px" ? "0 0 16px 0"
: "12px 8px 16px 8px", : "0 0 16px 0",
}} }}
> >
<GiteaFileTree <GiteaFileTree
@@ -380,7 +380,9 @@ const leftCol: React.CSSProperties = {
minWidth: 0, minWidth: 0,
display: "flex", display: "flex",
flexDirection: "column", flexDirection: "column",
gap: 24,
borderRight: `1px solid ${THEME.borderSoft}`, borderRight: `1px solid ${THEME.borderSoft}`,
padding: "20px",
overflowY: "auto", overflowY: "auto",
}; };