mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
手机下隐藏提交信息
This commit is contained in:
1
.github/release.md
vendored
1
.github/release.md
vendored
@@ -3,5 +3,6 @@
|
|||||||
#### 更符合 GitHub 风格
|
#### 更符合 GitHub 风格
|
||||||
|
|
||||||
- 仓库代码页侧边栏宽度调整
|
- 仓库代码页侧边栏宽度调整
|
||||||
|
- 仓库文件列表在手机下隐藏提交信息
|
||||||
- 下拉菜单分割线调整
|
- 下拉菜单分割线调整
|
||||||
- 动画效果优化
|
- 动画效果优化
|
||||||
@@ -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 {
|
.repo-grid-filelist-sidebar {
|
||||||
grid-template-columns: auto 296px;
|
grid-template-columns: auto 296px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
.repo-grid-filelist-sidebar {
|
||||||
|
grid-template-columns: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 仓库代码页面侧边栏
|
// 仓库代码页面侧边栏
|
||||||
.page-content.repository {
|
.page-content.repository {
|
||||||
.repo-home-sidebar-top {
|
.repo-home-sidebar-top {
|
||||||
@@ -198,6 +225,7 @@
|
|||||||
.flex-item-title {
|
.flex-item-title {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-item-body {
|
.flex-item-body {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user