SnipSavvy / SnipSavvy_Frontend

https://snipsavvy.vercel.app
19 stars 31 forks source link

Fix spacing issue in EditModal component #69

Open Mallik0 opened 3 weeks ago

Mallik0 commented 3 weeks ago

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[bot] commented 3 weeks ago

@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.