Skip to content

Commit 335ffb1

Browse files
Paebakclaude
andcommitted
Fix mobile layout: hero height and resume tile overlap
- Hero: add !important to flex-direction:column override so desktop row rule doesn't win on mobile; hide memoji (stacks poorly at phone width) - Resume tile: scale util-icon from 72px to 40px on mobile so label and icon no longer collide in the 110px tile Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 54255f6 commit 335ffb1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/theme.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,14 @@ body { margin: 0; }
9797
grid-template-rows: auto;
9898
grid-auto-rows: auto;
9999
}
100-
.bento-hero { grid-column: span 2; grid-row: span 1; flex-direction: column; align-items: flex-start; }
101-
.bento-hero .hero-img { height: 180px; margin-right: 0; margin-bottom: -18px; align-self: center; }
100+
/* !important needed to beat the desktop flex-direction: row !important on .bento-hero */
101+
.bento-hero { grid-column: span 2; grid-row: span 1; flex-direction: column !important; align-items: flex-start; }
102+
.bento-hero .hero-img { display: none; }
102103
.bento-md { grid-column: span 2; }
103104
.bento-sm { grid-column: span 1; height: 110px; }
105+
106+
/* Resume: scale icon down so label doesn't collide */
107+
.util-icon { width: 40px !important; height: 40px !important; }
104108
}
105109

106110
@media (max-width: 520px) {

0 commit comments

Comments
 (0)