Date Picker: Margins not working
Info
If you use any of the margin properties (mr, mt, mb, or ml) with the Datepicker component, nothing happens. Tested in React, not tested in Angular.
Acceptance Criteria:
- The margin properties should add spacing around the Datepicker component
Has this issue already been resolved in the alpha branch? 🤔 I couldn't replicate it in my playground.
When I added the following to my Web playground...
<goa-date-picker name="item" error="false" mt="m" mb="m" ml="m" mr="m" value={datePickerDate}></goa-date-picker>
I can see the margins around the input:
And when I added the following to my React playground...
<GoADatePicker onChange={onChange} mt="m" mb="m" ml="m" mr="m" berror={false} value={new Date()}></GoADatePicker>
I can also see the margins around the input:
Or is there a specific context where this issue arises?
I am also unable to replicate this issue.