File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default function CollectionScrollbar({
4646 } , [ sections ] )
4747
4848 return (
49- < aside className = "sticky top-[73px] z-20 w-full shrink-0 bg-[var(--color-bg)] lg:top-[100px] lg:w-[200px ] lg:self-start" >
49+ < aside className = "sticky top-[73px] z-20 w-full shrink-0 bg-[var(--color-bg)] lg:top-[100px] lg:w-[240px ] lg:self-start" >
5050 < div >
5151 < nav
5252 aria-label = { label }
@@ -58,8 +58,8 @@ export default function CollectionScrollbar({
5858 href = { `#${ section . id } ` }
5959 aria-current = { activeSection === section . id ? 'location' : undefined }
6060 className = { `
61- shrink-0 whitespace-nowrap text-left text-sm px-[var(--spacing-sm)] py-[var(--spacing-xs)]
62- transition-all lg:block lg:w-full
61+ shrink-0 whitespace-nowrap px-[var(--spacing-sm)] py-[var(--spacing-xs)] text-left text-sm
62+ transition-all lg:block lg:w-full lg:whitespace-normal
6363 ${
6464 activeSection === section . id
6565 ? 'bg-[var(--color-hover)] text-[var(--color-text)] font-medium'
You can’t perform that action at this time.
0 commit comments