重叠边框线, 避免过粗

This commit is contained in:
lutinglt
2025-08-14 00:10:46 +08:00
parent a4c94cb34d
commit 6aef26cdc8

View File

@@ -197,8 +197,7 @@ export const repoFileView = css`
border: 1px solid ${themeVars.color.secondary.self};
border-radius: ${otherThemeVars.border.radius};
height: 46px;
// 重叠边框线, 避免过粗
min-height: 45px;
min-height: 46px;
padding: 8px;
position: sticky;
top: 0;
@@ -210,7 +209,8 @@ export const repoFileView = css`
z-index: 0;
h4.file-header {
position: sticky;
top: 46px;
// 重叠边框线, 避免过粗
top: 45px;
z-index: 1;
}
}