Scale waypoint marker text on highlight (12→13px)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c78a6f8bc9
commit
fe64aa0103
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ function waypointIcon(index: number, overnight?: boolean, highlighted?: boolean)
|
||||||
width:${size}px;height:${size}px;border-radius:50%;
|
width:${size}px;height:${size}px;border-radius:50%;
|
||||||
background:${bg};color:white;
|
background:${bg};color:white;
|
||||||
display:flex;align-items:center;justify-content:center;
|
display:flex;align-items:center;justify-content:center;
|
||||||
font-size:12px;font-weight:600;
|
font-size:${highlighted ? 13 : 12}px;font-weight:600;
|
||||||
border:2px solid white;box-shadow:0 1px 4px rgba(0,0,0,0.3);
|
border:2px solid white;box-shadow:0 1px 4px rgba(0,0,0,0.3);
|
||||||
transform:translate(-${offset}px,-${offset}px);
|
transform:translate(-${offset}px,-${offset}px);
|
||||||
transition:all 0.15s ease;
|
transition:all 0.15s ease;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue