diff --git a/CHANGELOG.md b/CHANGELOG.md index 6720c70..9e6158b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 \ No newline at end of file diff --git a/styles/components/filelist.ts b/styles/components/filelist.ts index e5efcdd..ea243e2 100644 --- a/styles/components/filelist.ts +++ b/styles/components/filelist.ts @@ -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};