手机下隐藏提交信息

This commit is contained in:
lutinglt
2025-02-09 19:19:10 +08:00
parent e2c52aa95a
commit de133f5aac
2 changed files with 29 additions and 0 deletions

1
.github/release.md vendored
View File

@@ -3,5 +3,6 @@
#### 更符合 GitHub 风格
- 仓库代码页侧边栏宽度调整
- 仓库文件列表在手机下隐藏提交信息
- 下拉菜单分割线调整
- 动画效果优化

View File

@@ -182,11 +182,38 @@
}
}
// 手机下隐藏提交信息
@media (max-width: 767.98px) {
#repo-files-table {
grid-template-columns: 1fr auto;
.repo-file-line {
grid-column: 1 / span 2;
}
.repo-file-cell {
&.name {
max-width: none;
}
&.message {
display: none;
}
}
}
}
// 仓库代码布局调整, 侧边栏宽度调整
.repo-grid-filelist-sidebar {
grid-template-columns: auto 296px;
}
@media (max-width: 767.98px) {
.repo-grid-filelist-sidebar {
grid-template-columns: 100%;
}
}
// 仓库代码页面侧边栏
.page-content.repository {
.repo-home-sidebar-top {
@@ -198,6 +225,7 @@
.flex-item-title {
margin-top: 2px;
}
.flex-item-body {
padding: 8px 0;