Currently, I am facing an issue with my form containing a radio button group where one of the radio button labels includes another numerical input. The layout is not aligned correctly, and I am struggling to adjust the spacing using CSS.
I am unable to grasp concepts like spacing, paddings, margins, etc., and need help in determining which elements require specific classes for centering purposes. Any assistance would be greatly appreciated.
To view the sandbox, click here: https://codesandbox.io/s/keen-christian-s7u3c?file=/src/components/HelloWorld.vue
Code:
<b-form-group label="Radio Buttons with Inline Input">
<b-form-radio-group stacked v-model="radioValue">
<div>
<b-form-radio name="radio1" value="ONE"
>this is
<b-form-spinbutton
:disabled="radioValue === 'TWO'"
v-model="numberValue"
size="sm"
inline
></b-form-spinbutton>
not aligned
</b-form-radio>
</div>
<b-form-radio name="radio2" value="TWO"
>this is aligned</b-form-radio
>
</b-form-radio-group>
</b-form-group>