Skip to content

Fix spacing issue in EditModal component#69

Open
Mallik0 wants to merge 1 commit intoSnipSavvy:mainfrom
Mallik0:modify-edit-modal
Open

Fix spacing issue in EditModal component#69
Mallik0 wants to merge 1 commit intoSnipSavvy:mainfrom
Mallik0:modify-edit-modal

Conversation

@Mallik0
Copy link
Copy Markdown

@Mallik0 Mallik0 commented Jun 10, 2024

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.

@vercel
Copy link
Copy Markdown

vercel bot commented Jun 10, 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.

1 participant