Desktop: compact hero drops its min height; app tabs fit one row at 1440 (tighter pills below 1560 px); hero screenshots only on wide windows so the pipeline labels never overlap

This commit is contained in:
CRTkafa 2026-10-23 09:32:51 +08:00
parent 936ee15e38
commit 6a9f9f36c0

View file

@ -100,7 +100,7 @@
.ds-hero-shots img:nth-child(even) { margin-top: 26px; }
.ds-hero:hover .ds-hero-shots img { transform: translateY(-3px); }
/* compact hero: every app tab but Releases (one slim row, the tab content starts above the fold) */
.ds-hero.compact { grid-template-columns: minmax(0, 1fr); }
.ds-hero.compact { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: var(--ds-r-lg); }
.ds-hero.compact .ds-hero-main { padding: 14px 20px; gap: 0; }
.ds-hero.compact .ds-hero-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 18px; }
.ds-hero.compact .ds-hero-id { gap: 14px; }
@ -109,7 +109,8 @@
.ds-hero.compact .ds-hero-name { font-size: 20px; }
.ds-hero.compact .ds-hero-ids .store-badge { height: 26px; }
.ds-hero-cta { margin-left: auto; flex: none; }
@media (max-width: 1180px) { .ds-hero { grid-template-columns: minmax(0, 1fr); } .ds-hero-shots { display: none; } }
@media (max-width: 1500px) { .ds-hero { grid-template-columns: minmax(0, 1fr); } .ds-hero-shots { display: none; } }
@media (max-width: 1560px) { .ds-tabs .ds-tab { padding: 0 10px; gap: 6px; } .ds-tabs .ds-tab svg { width: 15px; height: 15px; } }
@media (max-width: 900px) { .ds-hero-pipe { grid-template-columns: minmax(0, 1fr); } .ds-hero-foot { justify-items: start; } }
/* ---------- app page shell ---------- */