Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: UI Tweaks to Card Design in Grant Detail (#3439)
* feat: Updated card design and alignment in Main Card (Grant Detail) This commit updates the UI design of the Card Design and Main Card (Grant Detail) to align with the new specifications: 1. Card Design: - Increased border radius of the card from 4px (.25rem) to 8px (.5rem). 2. Main Card (Grant Detail): - Updated the margin for the primary (main content) card from 20px to 24px (1.5rem). - Adjusted the top margin of the back button row to 0px, ensuring a total margin of 24px with the card margin, and set the bottom margin to 24px. - Modified the Grant Title margins to have a top margin of 16px (1rem) and a bottom margin of 24px (1.5rem). - Ensured consistent 24px (1.5rem) spacing between the button row (View on Grants, Copy, Print) by changing the button's right margin from 20px (mr-5) to 24px (mr-4). - Left-aligned the button row to ensure it is 24px from the left edge of the card by setting the grant-details-main-action div's margin-left to 0 (ml-0), relying on the outer card's 24px margin. * feat: Updated alignment in Secondary Card (Share, Status, Grant Activity, etc) In this Commit, the Secondary Card (Share, Status, Grant Activity, etc.) is updated according to the requirements 1. Top/Bottom Margin: - Changed the top and bottom margins to 24px (1.5rem) to ensure that the cards are visually aligned in both the main and side columns. 2. Left/Right Margin: - Adjusted the left and right margins to 16px (1rem) to accommodate the narrower column sizing, providing more content space within the card. 3. Total Spacing Between Entries: - Ensured a consistent spacing of 24px (1.5rem) between entries within the card to maintain a clean and organized layout. 4. Removed Padding on Email Address Line * Fixed ESLint QA Failure issue The issue was caused due to ESLint rule 'no-multiple-empty-lines'. This rule enforces not to use more than one consecutive empty blank line. Fixed it by remove those empty blank lines. * eslint fix * Removed comments
- Loading branch information