Skip to content

Commit 270e1c4

Browse files
updates
1 parent e5e0984 commit 270e1c4

3 files changed

Lines changed: 25 additions & 11 deletions

File tree

app/globals.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,14 @@ a:hover {
281281
font-size: 0.75rem;
282282
}
283283

284+
/* Breadcrumb links: global 44px touch floor makes crumbs + current-page span misalign; keep one compact line */
285+
nav[aria-label="Breadcrumb"] a {
286+
min-height: unset;
287+
display: inline-flex;
288+
align-items: center;
289+
padding-block: 0.2rem;
290+
}
291+
284292
/* Footer: don't let 'span 2' overflow a single-column grid */
285293
.footer-about-col {
286294
grid-column: span 1 !important;

components/Breadcrumb.tsx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,30 @@ export default function Breadcrumb({ items }: BreadcrumbProps) {
3737
}}
3838
>
3939
<ol
40+
className="bc-trail"
4041
style={{
4142
width: '100%',
4243
maxWidth: 'var(--pts-content-max)',
4344
margin: '0 auto',
4445
display: 'flex',
45-
flexWrap: 'wrap',
46+
flexWrap: 'nowrap',
4647
alignItems: 'center',
4748
gap: '0 0.3rem',
4849
listStyle: 'none',
4950
fontSize: '0.8rem',
5051
color: 'var(--pts-text-subtle)',
52+
overflowX: 'auto',
53+
overflowY: 'hidden',
54+
WebkitOverflowScrolling: 'touch',
55+
scrollbarGutter: 'stable',
5156
}}
5257
>
5358
{items.map((item, i) => {
5459
const isLast = i === items.length - 1;
5560
return (
5661
<li
5762
key={i}
58-
style={{ display: 'flex', alignItems: 'center', gap: '0.3rem' }}
63+
style={{ display: 'flex', alignItems: 'center', gap: '0.3rem', flexShrink: 0 }}
5964
>
6065
{i > 0 && (
6166
<span aria-hidden style={{ color: 'var(--pts-border-strong)', userSelect: 'none' }}>
@@ -72,10 +77,15 @@ export default function Breadcrumb({ items }: BreadcrumbProps) {
7277
style={{
7378
color: isLast ? 'var(--pts-text-muted)' : 'var(--pts-text-subtle)',
7479
fontWeight: isLast ? 500 : 400,
75-
maxWidth: '22ch',
76-
overflow: 'hidden',
77-
textOverflow: 'ellipsis',
7880
whiteSpace: 'nowrap',
81+
...(isLast
82+
? {
83+
/* one line with trail; scroll parent .bc-trail if long */
84+
maxWidth: 'min(70vw, 40rem)',
85+
overflow: 'hidden',
86+
textOverflow: 'ellipsis',
87+
}
88+
: {}),
7989
}}
8090
>
8191
{item.label}

components/HeroHomeSplit.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,8 @@ export default function HeroHomeSplit() {
180180
flex-direction: column;
181181
min-height: 0;
182182
width: 100%;
183-
}
184-
/* Space between stacked hero (copy + dashboard) and dark feature bar on small screens */
185-
@media (max-width: 1023px) {
186-
.hero-split-inner {
187-
gap: clamp(1.5rem, 5vw, 2.5rem);
188-
}
183+
/* space before dark trust strip — was only <1024px; iPad landscape (≥1024) had none */
184+
gap: clamp(1.35rem, 4vw, 2.5rem);
189185
}
190186
/* Fills space above the trust bar and vertically centers the grid — no mint gap under copy */
191187
.hero-split-center {

0 commit comments

Comments
 (0)