Format location control

This commit is contained in:
Austen Adler 2023-03-19 14:00:08 -04:00
parent 4f63a87a76
commit e20cbc6d93

View File

@ -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} />