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 921ef5567c
commit bda46f3cf2
2 changed files with 12 additions and 0 deletions

View File

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

View File

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