[WEB-2403] fix: alignment of project states in collapsed view#7114
[WEB-2403] fix: alignment of project states in collapsed view#7114sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
WalkthroughThe changes adjust the styling of Kanban board header components. Specifically, a bottom margin is removed from the sticky header wrapper, and the icon container within the header card receives increased height and a fixed width. No logic, control flow, or public API is affected. Changes
Suggested labels
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. ✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Pull Request Linked with Plane Work Items Comment Automatically Generated by Plane |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx (1)
120-122: Nitpick: Extract icon size to shared theme variables.Consider defining these hard-coded Tailwind dimensions (
h-[25px],w-[20px]) as design tokens or in your Tailwind config undertheme.extendso that future visual tweaks remain consistent and centralized.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
web/core/components/issues/issue-layouts/kanban/default.tsx(1 hunks)web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Analyze (javascript)
🔇 Additional comments (2)
web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx (1)
120-122: Approve: Icon container dimensions updated for improved vertical alignment.Increasing the container height to
h-[25px]and adding a fixed width ofw-[20px]ensures the icon (or fallbackCircle) is centered consistently, resolving the misalignment in collapsed view.web/core/components/issues/issue-layouts/kanban/default.tsx (1)
164-166: Approve: Removed bottom margin from sticky header for tighter spacing.Dropping the
mb-1class from the sticky header div tidies up extra vertical space, aligning the header rows precisely in the collapsed state without impacting any logic.
Description
Alignment of project states in collapsed view
Before

After

Type of Change
Summary by CodeRabbit