Skip to content

Commit 8d01ce1

Browse files
p4gsclaudehappy-otter
committed
fix: glass panels now have 16px gap from viewport edges on all devices
Use max-width: min(1100px, 100% - 32px) on .container to guarantee 16px minimum margin on each side. Replaces redundant per-breakpoint padding overrides — one line handles all viewports. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 88daa86 commit 8d01ce1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

docs/projects/nthpartyfinder/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
a { color: var(--neon-pink); text-decoration: none; transition: color .2s; }
6262
a:hover { color: var(--neon-blue); }
6363

64-
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
64+
.container { max-width: min(var(--container), 100% - 32px); margin: 0 auto; padding: 0 var(--gutter); }
6565

6666
/* ── ICON SYSTEM ── */
6767
.material-symbols-outlined {
@@ -813,14 +813,10 @@
813813
.nav-hamburger { display: flex; }
814814
.hero-ctas { flex-direction: column; align-items: center; }
815815
.hero-title { font-size: clamp(2.8rem, 11vw, 4.5rem); letter-spacing: 3px; }
816-
.container { padding: 0 20px; }
817816
}
818817
@media (max-width: 520px) and (orientation: portrait) {
819818
.hero-title { font-size: clamp(4.2rem, 17vw, 7rem); letter-spacing: 3px; }
820819
}
821-
@media (max-height: 500px) and (orientation: landscape) {
822-
.container { padding: 0 48px; }
823-
}
824820
/* ── 3D GRAPH ── */
825821
/* The .hero-overlay div is no longer used — dark tint is on body::after */
826822
#vendor-graph {

0 commit comments

Comments
 (0)