Skip to content

changed some styles in the Fixed Deposit section like other sections#19

Open
sajiv8 wants to merge 2 commits intomainfrom
sajivnew
Open

changed some styles in the Fixed Deposit section like other sections#19
sajiv8 wants to merge 2 commits intomainfrom
sajivnew

Conversation

@sajiv8
Copy link
Collaborator

@sajiv8 sajiv8 commented Oct 19, 2025

I did a small change in the style of the Fixed Deposit section like other sections.Compare the changes and merge with the main branch
image
The box "Create new FIxed Deposit" was not been in full width before but other section boxes were in the full width so i changed it like others

@vercel
Copy link

vercel bot commented Oct 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
micro-banking-system-db-frontend Ready Ready Preview Comment Oct 19, 2025 5:07am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

Copilot AI review requested due to automatic review settings October 19, 2025 05:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes the styling across dashboard sections by making the Fixed Deposit section's layout consistent with other sections. The main change is removing the max-width constraint and centering from the Fixed Deposit container to match the full-width layout used in other sections.

  • Removed max-width and centering from Fixed Deposit section container
  • Updated styling to match other sections' full-width design
  • Enhanced visual consistency across the dashboard

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/dashboard/sections/FixedDepositSection.tsx Removed max-width constraint and updated container styling to match other sections
src/dashboard/sections/BranchSection.tsx Removed max-width constraints and section headings for consistency
src/dashboard/forms/UpdateBranchForm.tsx Removed SubmitButton import and replaced with inline button styling
src/dashboard/forms/CreateFixedDepositForm.tsx Enhanced styling with new header section and improved form layout
src/dashboard/forms/CreateBranchForm.tsx Removed SubmitButton import and replaced with inline button styling
src/dashboard/Dashboard.tsx Updated default sub-tab selections for various sections

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

<div className="max-w-6xl mx-auto">
<h2 className="text-xl font-semibold mb-4">Create New Branch</h2>
<div>
{error && <div className="mb-4"><Alert type="error">{error}</Alert></div>}
Copy link

Copilot AI Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section heading 'Create New Branch' was removed but the heading is important for user context. Consider keeping the heading or moving it to the form component to maintain clear section identification.

Suggested change
{error && <div className="mb-4"><Alert type="error">{error}</Alert></div>}
{error && <div className="mb-4"><Alert type="error">{error}</Alert></div>}
<h2 className="text-xl font-semibold mb-4">Create New Branch</h2>

Copilot uses AI. Check for mistakes.
Comment on lines +120 to 121
<div>
{error && <div className="mb-4"><Alert type="error">{error}</Alert></div>}
Copy link

Copilot AI Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section heading 'Update Branch' was removed but the heading is important for user context. Consider keeping the heading or moving it to the form component to maintain clear section identification.

Copilot uses AI. Check for mistakes.
{activeSubTab === 'search-branch' && (
<div className="max-w-6xl mx-auto">
<h2 className="text-xl font-semibold mb-4">Search Branches</h2>
<div>
Copy link

Copilot AI Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section heading 'Search Branches' was removed but the heading is important for user context. Consider keeping the heading or moving it to the form component to maintain clear section identification.

Suggested change
<div>
<div>
<h2 className="text-xl font-semibold mb-4">Search Branches</h2>

Copilot uses AI. Check for mistakes.
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.

2 participants