fix(codebase): perfectly align left file tree header and right preview header
This commit is contained in:
@@ -154,6 +154,8 @@ export function GiteaFileViewer({ projectId, path }: GiteaFileViewerProps) {
|
||||
padding: "10px 16px",
|
||||
background: THEME.subtleBg,
|
||||
borderBottom: `1px solid ${THEME.borderSoft}`,
|
||||
height: "41px",
|
||||
boxSizing: "border-box",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
@@ -270,6 +272,8 @@ function Centered({
|
||||
padding: "10px 16px",
|
||||
background: THEME.subtleBg,
|
||||
borderBottom: `1px solid ${THEME.borderSoft}`,
|
||||
height: "41px",
|
||||
boxSizing: "border-box",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user