map plugin : improve styles

This commit is contained in:
isUnknown 2026-01-28 16:33:48 +01:00
parent 2b0f4f8742
commit b47195488a
3 changed files with 6 additions and 81 deletions

View file

@ -117,7 +117,7 @@ export default {
emit('select-location', {
lat: result.lat,
lon: result.lon,
displayName: result.displayName
displayName: result.displayName,
});
searchQuery.value = result.displayName;
showResults.value = false;
@ -188,9 +188,9 @@ export default {
selectFirstResult,
navigateResults,
clearSearch,
focus
focus,
};
}
},
};
</script>
@ -214,6 +214,7 @@ export default {
font-size: 0.875rem;
background: var(--color-white);
transition: border-color 0.2s;
color: #000;
}
.search-input:focus {
@ -329,11 +330,11 @@ export default {
.result-name {
font-size: 0.875rem;
color: var(--color-text);
margin-bottom: 0.25rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #000;
}
.result-coords {