From 5e3f2ec2c2b156737bc048d791e68c58541227f8 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Thu, 6 Nov 2025 17:36:09 +0800 Subject: [PATCH] Fix the disabled operation button interval in the code preview interface --- CHANGELOG.md | 1 + styles/components/filelist.ts | 4 ++++ 2 files changed, 5 insertions(+) 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};