You can change the size of a radio group using CSS. Here is an example of how you can make the radio group smaller using JavaScript:
index.tsx190 chars6 lines
Replace 'radio-group-name' with the name of your radio group. The above code will set the width and height of each radio button to 50px. You can adjust the values as per your requirement. You can also add this code to an event listener on the page or in an external JavaScript file to apply it to all radio groups as needed.
Note: It is generally not recommended to change the size of form controls as it can affect the user experience and accessibility of your application.
gistlibby LogSnag