mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-21 22:23:56 +00:00
Fix the disabled operation button interval in the code preview interface
This commit is contained in:
@@ -5,3 +5,4 @@
|
|||||||
### 🐞 Fix
|
### 🐞 Fix
|
||||||
|
|
||||||
- Fix the problem of missing background color and width when there is a unicode character in the diff
|
- 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
|
||||||
@@ -316,6 +316,10 @@ export const repoFileView = css`
|
|||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
border-top-right-radius: ${otherThemeVars.border.radius};
|
border-top-right-radius: ${otherThemeVars.border.radius};
|
||||||
border-bottom-right-radius: ${otherThemeVars.border.radius};
|
border-bottom-right-radius: ${otherThemeVars.border.radius};
|
||||||
|
// 与无权限按钮之间的间距
|
||||||
|
+ .btn-octicon.disabled {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background: ${themeVars.color.hover.self};
|
background: ${themeVars.color.hover.self};
|
||||||
|
|||||||
Reference in New Issue
Block a user