Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(styles): remove redundant spacing between form items [ci visual] #5690

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

InnaAtanasova
Copy link
Contributor

@InnaAtanasova InnaAtanasova commented Oct 7, 2024

Related Issue

Closes #5660

Description

The extra gap between Radio buttons and the misalignment in inline radio button group was added because form items in a form should have 0.625rem spacing.
Added a new modifier class fd-form-group--with-spacing that adds spacing between the form-items only when explicitly applied.
Removed the margin-block-start from the form-item.

Without spacing:
Screenshot 2024-10-07 at 10 52 03 AM
Screenshot 2024-10-07 at 10 51 40 AM

With spacing:
Screenshot 2024-10-07 at 10 52 14 AM
Screenshot 2024-10-07 at 10 50 53 AM

@InnaAtanasova InnaAtanasova added the Bug Something isn't working label Oct 7, 2024
@InnaAtanasova InnaAtanasova requested a review from a team October 7, 2024 14:56
@InnaAtanasova InnaAtanasova self-assigned this Oct 7, 2024
Copy link

netlify bot commented Oct 7, 2024

Deploy Preview for fundamental-styles ready!

Name Link
🔨 Latest commit 61febc7
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-styles/deploys/6703ff91e0136800086c7c91
😎 Deploy Preview https://deploy-preview-5690--fundamental-styles.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@droshev droshev merged commit 91b1d8a into main Oct 8, 2024
10 checks passed
@droshev droshev deleted the fix/form-item-spacing branch October 8, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra Gap between Radio buttons
3 participants