Fix the disabled operation button interval in the code preview interface

This commit is contained in:
lutinglt
2025-11-06 17:36:09 +08:00
parent ce1ebf0c53
commit 5e3f2ec2c2
2 changed files with 5 additions and 0 deletions

View File

@@ -5,3 +5,4 @@
### 🐞 Fix
- Fix the problem of missing background color and width when there is a unicode character in the diff
- Fix the disabled operation button interval in the code preview interface

View File

@@ -316,6 +316,10 @@ export const repoFileView = css`
&:last-of-type {
border-top-right-radius: ${otherThemeVars.border.radius};
border-bottom-right-radius: ${otherThemeVars.border.radius};
// 与无权限按钮之间的间距
+ .btn-octicon.disabled {
margin-left: 8px;
}
}
&:hover {
background: ${themeVars.color.hover.self};