修复归档仓库 Issue 时间线过长插入归档信息框

This commit is contained in:
lutinglt
2025-09-09 17:47:33 +08:00
parent 247c6fd987
commit 5fb9ef2a61
4 changed files with 13 additions and 4 deletions

3
.github/release.md vendored
View File

@@ -56,8 +56,9 @@ determined.
- 取消修改编辑器字体大小, 避免光标错位 - 取消修改编辑器字体大小, 避免光标错位
- 修复文件预览时文件树右边框过粗 - 修复文件预览时文件树右边框过粗
- 修复提交列表尾行圆角 - 修复提交列表尾行圆角
- 修复 wiki 页面和二级导航栏组织页面的团队菜单的圆角问题 - 修复 Wiki 页面和二级导航栏组织页面的团队菜单的圆角问题
- 修复创建工单页面样式 - 修复创建工单页面样式
- 修复归档仓库 Issue 时间线过长插入归档信息框
## 📃 English (From AI) ## 📃 English (From AI)

View File

@@ -93,7 +93,7 @@ export const activity = css`
} }
} }
> .page.buttons { > .page.buttons {
border-top: 1px solid ${themeVars.color.light.border}; border-top: 1px solid ${themeVars.color.secondary.self};
padding: 12px 0px; padding: 12px 0px;
} }
} }

View File

@@ -467,6 +467,11 @@ export const prMerge = css`
export const timeline = css` export const timeline = css`
.repository.view.issue { .repository.view.issue {
.comment-list { .comment-list {
// 时间线本线
.timeline::before {
// 不遮挡归档信息框, 归档信息框背景色有透明度时会漏出线
height: calc(100% - 62px);
}
.timeline-item, .timeline-item,
.timeline-item-group { .timeline-item-group {
padding: 16px 0; padding: 16px 0;

View File

@@ -8,13 +8,16 @@ export const tippyBox = css`
border-radius: ${otherThemeVars.border.radius}; border-radius: ${otherThemeVars.border.radius};
overflow: hidden; overflow: hidden;
animation: ${animationDown}; animation: ${animationDown};
// 边框线同步 github 样式 // 克隆菜单和PR提示框为 default
&[data-theme="default"], &[data-theme="default"],
// 带标题的提示框 (Runner信息)
&[data-theme="box-with-header"] { &[data-theme="box-with-header"] {
border: unset; border: unset;
box-shadow: ${themeVars.github.shadow.floating.small}; box-shadow: ${themeVars.github.shadow.floating.small};
} }
// 带标题的提示框 (Runner信息) &[data-theme="default"] {
border-radius: 12px;
}
&[data-theme="box-with-header"] { &[data-theme="box-with-header"] {
.tippy-content { .tippy-content {
background-color: ${themeVars.color.menu}; background-color: ${themeVars.color.menu};