feat: hide instance export and stats on mobile, desktop-only downloads

Mark export bar and summary stat cards as instance-desktop-only. Hide all CSV/MD export actions on phone across four exchange instances.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-09 17:07:00 +08:00
parent e60beeedd3
commit 9aba8ec645
5 changed files with 68 additions and 43 deletions
+48 -23
View File
@@ -1,40 +1,65 @@
/* 实例页手机端:顶栏统计精简 */
/* 实例页手机端:与中控一致,桌面专属区块隐藏;下载仅电脑端 */
@media (max-width: 720px) {
.stat-box > .stat-item-desktop-only {
.instance-desktop-only {
display: none !important;
}
.stat-box {
a[href^="/export/"] {
display: none !important;
}
button[onclick*="exportDailyBundleMd"],
button[onclick*="exportWeeklyBundleMd"] {
display: none !important;
}
body {
padding: 8px 10px !important;
}
.header h1 {
font-size: 1rem !important;
line-height: 1.35;
}
.header-row {
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.stat-box > .stat-item:last-child:nth-child(odd) {
grid-column: 1 / -1;
.top-nav {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
gap: 6px;
padding-bottom: 2px;
}
.stat-item {
min-height: 64px;
padding: 10px 8px;
}
.stat-item .value {
font-size: 1.1rem;
}
.export-bar > span:first-child {
.top-nav::-webkit-scrollbar {
display: none;
}
.export-bar {
gap: 6px;
margin-bottom: 10px;
.top-nav a {
flex: 0 0 auto;
white-space: nowrap;
padding: 8px 12px;
font-size: 0.78rem;
}
.export-bar a {
flex: 1 1 auto;
text-align: center;
min-width: 0;
.list-window-bar {
flex-direction: column;
align-items: stretch;
gap: 8px;
}
.grid {
gap: 10px;
}
.card {
padding: 12px;
}
}