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 spacing issue in EditModal component #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mallik0
Copy link

@Mallik0 Mallik0 commented Jun 17, 2024

Fixes #16:

This pull request addresses a UI issue in the EditModal component where the TextField components for "New Workspace Name" and "New Description" were not properly spaced, leading to an inconsistent layout.

Changes Made:
Issue Description:
The TextField components used in the EditModal component had inconsistent spacing due to the use of className="mb-2" for adding bottom margin. This caused the fields to appear cramped and not aligned properly with the rest of the modal's content.

Rectification:
The solution involved changing the way margin is applied to the TextField components. Instead of using className, the sx prop from MUI was used to ensure consistent and clean styling. The sx prop allows for inline styling directly within the component, which is a more modern and preferred approach in MUI.

Copy link

vercel bot commented Jun 17, 2024

@Mallik0 is attempting to deploy a commit to the snipsavvy's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not proper ui on edit workspace modal
1 participant