Format location control
This commit is contained in:
parent
4f63a87a76
commit
e20cbc6d93
@ -81,9 +81,13 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="container" class="h-3/4">
|
<div id="container" class="h-3/4">
|
||||||
|
<!-- TODO: I want to set the border background to some tailwind class, but I don't know how.
|
||||||
|
This is to copy .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar border style
|
||||||
|
-->
|
||||||
<label
|
<label
|
||||||
bind:this={locationControl}
|
bind:this={locationControl}
|
||||||
class="bg-white p-2 border-black border-solid"
|
style="border-color: rgba(0,0,0,0.2);"
|
||||||
|
class="bg-white p-2 border-2 border-solid rounded"
|
||||||
on:click|stopPropagation
|
on:click|stopPropagation
|
||||||
>
|
>
|
||||||
<input type="checkbox" bind:checked={locationChecked} on:change={locationCheckedChanged} />
|
<input type="checkbox" bind:checked={locationChecked} on:change={locationCheckedChanged} />
|
||||||
|
Loading…
Reference in New Issue
Block a user