File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export function TierSpread({
3232 scroll = { false }
3333 aria-current = { selected == null ? "true" : undefined }
3434 className = { classNames (
35- "flex h-7 items-center justify-between rounded-sm px-2 text-sm transition-colors duration-(--duration-fast)" ,
35+ "flex h-7 items-center gap-3 self-start rounded-sm px-2 text-sm transition-colors duration-(--duration-fast)" ,
3636 selected == null
3737 ? "bg-text/8 text-text"
3838 : "text-text-muted hover:text-accent" ,
@@ -44,7 +44,7 @@ export function TierSpread({
4444 </ span >
4545 </ Link >
4646 < ul
47- className = "grid grid-flow-col grid-cols-2 gap-x-4 gap-y-1"
47+ className = "grid w-fit grid-flow-col grid-cols-2 gap-x-6 gap-y-1"
4848 style = { {
4949 gridTemplateRows : `repeat(${ Math . ceil ( tierCount / 2 ) } , minmax(0, 1fr))` ,
5050 } }
@@ -60,12 +60,16 @@ export function TierSpread({
6060 aria-current = { active ? "true" : undefined }
6161 aria-label = { `Tier ${ tier } : ${ number . format ( count ) } maps` }
6262 className = { classNames (
63- "group flex h-6 items-center justify-between rounded-sm px-2 transition-colors duration-(--duration-fast)" ,
63+ "group flex h-6 items-center gap-2 rounded-sm px-2 transition-colors duration-(--duration-fast)" ,
6464 active && "bg-text/8" ,
6565 ) }
6666 >
67- < TierBadge tier = { tier } tierCount = { tierCount } />
68- < span className = "text-text-muted group-hover:text-accent text-xs tabular-nums transition-colors duration-(--duration-fast)" >
67+ < TierBadge
68+ tier = { tier }
69+ tierCount = { tierCount }
70+ className = "w-8"
71+ />
72+ < span className = "text-text-muted group-hover:text-accent w-6 text-xs tabular-nums transition-colors duration-(--duration-fast)" >
6973 { number . format ( count ) }
7074 </ span >
7175 </ Link >
You can’t perform that action at this time.
0 commit comments