Skip to content

Commit fe5a887

Browse files
committed
style: adjust country bubble padding + lighter outline
1 parent 0b21021 commit fe5a887

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/components/CountryBubbles.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ function createMarkerElement(country: CountryHotspot): HTMLElement {
143143
144144
const container = document.createElement('div')
145145
container.style.cssText = `
146-
display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px; border-radius: 12px;
146+
display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; border-radius: 12px;
147147
background: white; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
148-
outline: 1.5px solid rgb(0 0 0 / 0.2); outline-offset: -1.5px;
148+
outline: 1.5px solid rgb(31 35 72 / 0.04); outline-offset: -1.5px;
149149
`
150150
151151
// Row 1: Flag + Country name
@@ -282,7 +282,7 @@ function flyToCountry(country: CountryHotspot) {
282282
translate-x="-1/2" translate-y="-1/2"
283283
@click="flyToCountry(bubble)"
284284
>
285-
<div flex="~ items-center gap-6" outline="~ offset--1.5 1.5 neutral/20" p-8 rounded-12 bg-neutral-0 shadow-lg>
285+
<div flex="~ items-center gap-6" outline="~ offset--1.5 1.5 darkblue/4" py-8 px-12 rounded-12 bg-neutral-0 shadow-lg>
286286
<!-- Navigation icon -->
287287
<Icon name="i-tabler:navigation-filled" text-neutral-700 shrink-0 size-13 :style="{ transform: `rotate(${bubble.edge!.arrowAngle}deg)` }" />
288288
<div flex="~ col gap-2" text-left>

0 commit comments

Comments
 (0)