Import a 3D Model and automatically assign and export animations
TypeScript
use a checkbox by radio button groups to give better clarify on what is selected
Scott Petrovic8264b74c0b91
diff --git a/src/radio-button-group.css b/src/radio-button-group.cssindex 98f0906..4ed5c75 100644--- a/src/radio-button-group.css+++ b/src/radio-button-group.css@@ -34,6 +34,9 @@ fieldset {color .25s ease-out,background-color .15s ease-out,box-shadow .15s ease-out;+ display: inline-flex;+ align-items: center;+ gap: 0.25rem;}/* border radius for first and last elements */@@ -59,3 +62,9 @@ fieldset {border-color: var(--radio-button-group-bg);z-index: 1;}++/* checkbox icon for selected state */+.toggle input:checked + label::before {+ content: "✓";+ font-weight: bold;+}diff --git a/src/styles.css b/src/styles.cssindex cd533e6..b94cabf 100644--- a/src/styles.css+++ b/src/styles.css@@ -480,7 +480,7 @@ option {#animations-items{- max-height: 27rem;+ max-height: calc(100vh - 27rem);display: inline-flex;overflow: auto;;flex-direction: row;