mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
重叠边框线, 避免过粗
This commit is contained in:
@@ -197,8 +197,7 @@ export const repoFileView = css`
|
|||||||
border: 1px solid ${themeVars.color.secondary.self};
|
border: 1px solid ${themeVars.color.secondary.self};
|
||||||
border-radius: ${otherThemeVars.border.radius};
|
border-radius: ${otherThemeVars.border.radius};
|
||||||
height: 46px;
|
height: 46px;
|
||||||
// 重叠边框线, 避免过粗
|
min-height: 46px;
|
||||||
min-height: 45px;
|
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -210,7 +209,8 @@ export const repoFileView = css`
|
|||||||
z-index: 0;
|
z-index: 0;
|
||||||
h4.file-header {
|
h4.file-header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 46px;
|
// 重叠边框线, 避免过粗
|
||||||
|
top: 45px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user