1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12: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>
<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="tick_mark" />
</div>
</div>
<style>
.checkbox-container {
position: relative;
z-index: 0;
}
.checkbox {
display: none;
}