How can I efficiently resize and embed SVG images into checkbox labels without using a viewbox attribute? Each SVG varies in height and width, making it challenging to find the best solution.
.check__button {
display: none;
}
.check__icon {
display: block;
border: 3px solid;
width: 70px;
height: 70px;
cursor: pointer;
}
.check__fill {
fill: #9facbc;
}
.check__button:checked+svg .check__fill {
fill: #737d8b;
}
<label class="check__icon">
<input class="check__button check__youtube" type="checkbox">
<svg width="141.176" height="100"
xmlns="http://www.w3.org/2000/svg"><defs>
</defs><path class="check__fill" d="M56.012 68.441l-.006-39.947 38.147 20.041-38.141 19.906zm83.753-46.87s-1.383-9.795-5.612-14.112c-5.37-5.665-11.385-5.691-14.144-6.02C100.253 0 70.62 0 70.62 0h-.065S40.924 0 21.168 1.441c-2.762.327-8.774.353-14.147 6.018C2.788 11.774 1.41 21.57 1.41 21.57S0 33.079 0 44.582v10.789c0 11.505 1.412 23.008 1.412 23.008s1.376 9.797 5.609 14.112c...
<label class="check__icon">
<input class="check__button check__fiverr" type="checkbox">
<svg width="100" height="100"
xmlns="http://www.w3.org/2000/svg"><defs>
</defs><path class="check__fill" d="M43.75 0a28.156 28.156 0 0 0-28.125 28.125v3.125h-12.5V50h12.5v31.25h-12.5V100h43.75V81.25h-12.5V50h31.426v31.25H53.125V100h43.75V81.25h-12.5v-50h-50v-3....