Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions apps/landing/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2194,9 +2194,48 @@ html.js .mock[data-construct]:not(.constructing):not(.constructed) {
}

@media (max-width: 720px) {
/* Same fixed-px problem as the dots below: the desktop wash uses a 640px
radial that can't fade within the narrow mobile hero, leaving a tinted
rectangle with hard side edges/corners. Re-size it relative to the hero
so the wash fades on all sides. */
.hero::before {
background: radial-gradient(
78% 55% at 50% 6%,
color-mix(in oklch, var(--ink) 4.5%, transparent),
transparent 70%
);
}

/* The desktop dot-grid mask is sized in fixed px for the wide hero; on the
narrow mobile hero those values stretch past the edges, leaving a hard
full-width band of dots instead of a fading patch. Use a relative-sized
ellipse (narrower than the hero) so the field fades on all sides as
ambient texture. -webkit- prefix included for iOS Safari. */
.hero::after {
-webkit-mask-image: radial-gradient(
85% 48% at 50% 26%,
rgb(0 0 0 / 60%),
transparent 80%
);
mask-image: radial-gradient(
85% 48% at 50% 26%,
rgb(0 0 0 / 60%),
transparent 80%
);
}

/* Keep a fixed height (sidebar is an overlay drawer here, so it adds no
in-flow height). A running thread streams rows in endlessly; without a
bounded body the feed — and the whole card — would grow without limit. */
.mock-body {
flex-direction: column;
height: auto;
}

/* In this column layout .main is on the main axis, so it needs min-height:0
to stay within the fixed body instead of growing with the feed's content.
This lets .feed clip and anchor newest rows to the bottom (.feed-live). */
.main {
min-height: 0;
}

.diff-panel {
Expand Down Expand Up @@ -2276,11 +2315,6 @@ html.js .mock[data-construct]:not(.constructing):not(.constructed) {
cursor: pointer;
}

.feed {
overflow: visible;
min-height: 200px;
}

.ctx-branch {
max-width: 150px;
}
Expand Down
Loading