[WEB-8510] fix(web): fix clipped/overlapping LayoutDropDown button in Create View modal - #9542
Merged
Merged
Conversation
Replaced the icon button styling with a more generic button styling for the dropdown component to ensure consistency across the UI. This change enhances the visual coherence of the dropdown button's appearance.
Contributor
📝 WalkthroughWalkthroughThe dropdown layout replaces icon-button styling with the standard secondary large button styling utility. ChangesDropdown styling
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
Rahulcheryala
approved these changes
Aug 4, 2026
sriramveeraghanta
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
LayoutDropDown(used for the layout selector in the "Create/Update View" modal) was styled withgetIconButtonStyling, which is built for icon-only buttons — it forces a fixed square shape (aspect-square+ a fixedsize-7). Since this dropdown's button renders an icon and a text label ("List", "Board", etc.), the label got clipped (e.g. "List" rendered as "Lis") and the button visually overlapped the adjacent "Display" button.Fix: use
getButtonStylinginstead — the same helper already used by comparable text+icon dropdown triggers elsewhere in the codebase (e.g.ProjectOrderByDropdown), which gives a fixed height with auto width instead of a forced square.Type of Change
Screenshots and Media (if applicable)
Before: "List" label clipped to "Lis", overlapping the "Display" button.

After: button renders at full width with the complete "List" label and proper spacing.

Test Scenarios
Reproduced and verified in a local dev instance:
References
WEB-8510