-
Notifications
You must be signed in to change notification settings - Fork 3
neetoUI Audit
Praveen Murali edited this page Feb 22, 2022
·
5 revisions
neetoUI and a11y audit.
Header bottom spacing
In the example shown above, we are using the same bottom spacing for both the Modals. But for the second Modal the spacing seems a bit odd.
Possible Solution
Benefits
- Here the Modal Close icon is aligned with the Header text, so we can provide a compact look for Modals.
- Modal Header bottom spacing works well for both cases (description and form components).
- In Pane, we already have this alignment. In terms of consistency, it would be better if we could follow the same approach in Modal/Alert.
Modal Close Button
28x28px
icon-only button
Modal Footer Buttons
Submit - primary - large Button
Cancel - text - large Button
Modal Footer Buttons spacing
8px
Pane Close Button
28x28px
icon-only button
Pane Footer Buttons
Submit - primary - large Button
Cancel - text - large Button
Pane Footer Buttons spacing
8px