修复提交列表尾行圆角

This commit is contained in:
lutinglt
2025-09-06 20:08:06 +08:00
parent dc3047f16a
commit 7366813f02
2 changed files with 19 additions and 7 deletions

1
.github/release.md vendored
View File

@@ -21,6 +21,7 @@
- 修复后台管理的运维管理面板的样式 - 修复后台管理的运维管理面板的样式
- 取消修改编辑器字体大小, 避免光标错位 - 取消修改编辑器字体大小, 避免光标错位
- 修复文件预览时文件树右边框过粗 - 修复文件预览时文件树右边框过粗
- 修复提交列表尾行圆角
## 📃 English (From AI) ## 📃 English (From AI)

View File

@@ -42,13 +42,24 @@ export const commit = css`
color: ${themeVars.color.text.light.num1}; color: ${themeVars.color.text.light.num1};
} }
} }
// 整行悬停色 tr {
tr:hover { // 整行悬停色
background-color: ${themeVars.color.hover.opaque}; &:hover {
} background-color: ${themeVars.color.hover.opaque};
// 偶数行悬停色 }
tr:nth-child(2n):hover { // 偶数行悬停色
background-color: ${themeVars.color.hover.opaque} !important; &:nth-child(2n):hover {
background-color: ${themeVars.color.hover.opaque} !important;
}
// 尾行圆角
&:last-child {
td:first-child {
border-bottom-left-radius: ${otherThemeVars.border.radius};
}
td:last-child {
border-bottom-right-radius: ${otherThemeVars.border.radius};
}
}
} }
} }
} }