1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Fix checkbox depth in frontend settings

This commit is contained in:
Andrew Kingston 2020-10-13 14:29:32 +01:00
parent 51c407c2f9
commit 9929d12c6f

View file

@ -12,13 +12,18 @@
</script> </script>
<input type="checkbox" class="checkbox" id="_checkbox" /> <input type="checkbox" class="checkbox" id="_checkbox" />
<div on:click={handleChange}> <div class="checkbox-container" on:click={handleChange}>
<div class="check-div" class:checked> <div class="check-div" class:checked>
<div class="tick_mark" /> <div class="tick_mark" />
</div> </div>
</div> </div>
<style> <style>
.checkbox-container {
position: relative;
z-index: 0;
}
.checkbox { .checkbox {
display: none; display: none;
} }