Skip to content

Commit c4dbbab

Browse files
committed
Improve the look of Enclave Platform on the map
1 parent 2360e3c commit c4dbbab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Data/Map/Location.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ name loc =
287287
"Den"
288288

289289
EnclavePlatform ->
290-
"Enclave Platform"
290+
"Enclave\nPlatform"
291291

292292
Gecko ->
293293
"Gecko"

src/Frontend.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ locationView location =
16601660
, TW.mod "before" <|
16611661
"absolute top-1/2 left-1/2 content-[''] block w-[var(--location-size)] h-[var(--location-size)] border-green-100 rounded-full -translate-x-1/2 -translate-y-1/2 bg-[radial-gradient(circle,var(--green-100-fully-transparent)_0%,var(--green-100-half-transparent)_100%)] "
16621662
++ borderWidth
1663-
, TW.mod "after" "content-[attr(data-location-name)] block top-[var(--location-name-top)] left-1/2 -translate-x-1/2 text-center absolute whitespace-nowrap bg-black-transparent p-x-1 leading-[13px]"
1663+
, TW.mod "after" "content-[attr(data-location-name)] whitespace-pre block top-[var(--location-name-top)] left-1/2 -translate-x-1/2 text-center absolute bg-black-transparent p-x-1"
16641664
, HA.style "text-shadow" "2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000"
16651665
, cssVars <|
16661666
List.fastConcat

0 commit comments

Comments
 (0)