Fix issue with switches and checkboxes on firefox on linux

This commit is contained in:
Andrew Kingston 2021-05-18 08:20:46 +01:00
parent 982336af82
commit b195ef1549
2 changed files with 12 additions and 0 deletions

View File

@ -45,3 +45,9 @@
</span>
<span class="spectrum-Checkbox-label">{text || ""}</span>
</label>
<style>
.spectrum-Checkbox-input {
opacity: 0;
}
</style>

View File

@ -26,3 +26,9 @@
<span class="spectrum-Switch-switch" />
<label class="spectrum-Switch-label" for={id}>{text}</label>
</div>
<style>
.spectrum-Switch-input {
opacity: 0;
}
</style>