v0.6.8: add Emo and 奶绿 streamers; center items shop layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-30 20:34:05 +08:00
co-authored by Cursor
parent 633a6f16b9
commit 3b7d00b32b
9 changed files with 73 additions and 15 deletions
+12 -7
View File
@@ -2531,7 +2531,8 @@ body:has(#items-view:not(.hidden)) {
overflow: hidden;
}
/* Shop + detail as a centered cluster; detail sticks while shop scrolls. */
/* Shop centered in the viewport; detail sits in the right gutter and
does not shift the shop's center (1fr | shop | 1fr). */
.items-board {
display: block;
position: relative;
@@ -2542,11 +2543,10 @@ body:has(#items-view:not(.hidden)) {
}
.items-cluster {
display: grid;
grid-template-columns: max-content 320px;
grid-template-columns: 1fr max-content 1fr;
align-items: start;
column-gap: 16px;
width: max-content;
margin: 0 auto;
width: 100%;
}
.items-main {
width: max-content;
@@ -2554,15 +2554,17 @@ body:has(#items-view:not(.hidden)) {
flex-direction: column;
gap: 10px;
min-width: 0;
grid-column: 1;
grid-column: 2;
justify-self: center;
}
.item-detail-box {
grid-column: 2;
grid-column: 3;
justify-self: start;
position: sticky;
top: 12px;
align-self: start;
z-index: 1;
width: 320px;
width: min(320px, 100%);
height: fit-content;
/* Cap to the items-board scrollport while sticky. */
max-height: calc(100dvh - 9rem);
@@ -2801,16 +2803,19 @@ body:has(#items-view:not(.hidden)) {
.items-cluster {
grid-template-columns: 1fr;
width: min(920px, 100%);
margin: 0 auto;
row-gap: var(--space-md);
}
.items-main {
width: min(920px, 100%);
grid-column: 1;
grid-row: 2;
justify-self: stretch;
}
.item-detail-box {
grid-column: 1;
grid-row: 1;
justify-self: stretch;
top: 8px;
width: min(920px, 100%);
max-height: min(42vh, 360px);