fix(codebase): fix left column padding and justification to align header with file tree
This commit is contained in:
@@ -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",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user