- Notifications
You must be signed in to change notification settings - Fork11.2k
style: fix dropdown spacing issues#24917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Deployment failed with the following error: View Documentation:https://vercel.com/docs/accounts/team-members-and-roles |
CLAassistant commentedNov 4, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
1 issue found across 1 file
Prompt for AI agents (all 1 issues)
Understand the root cause of the following 1 issues and fix them.<file name="apps/web/components/booking/BookingActionsDropdown.tsx"><violation number="1" location="apps/web/components/booking/BookingActionsDropdown.tsx:517">`DropdownMenuLabel` already ships with `px-2 pb-1 pt-1.5`, so adding `p-2` doesn’t override the vertical padding—Tailwind’s directional paddings still win and the spacing fix never lands. Use an `!important` vertical padding override instead to get the intended spacing.</violation></file>React with 👍 or 👎 to teach cubic. Mention@cubic-dev-ai to give feedback, ask questions, or re-run the review.
| <DropdownMenuPortal> | ||
| <DropdownMenuContent> | ||
| <DropdownMenuLabelclassName="px-2 pb-1 pt-1.5">{t("edit_event")}</DropdownMenuLabel> | ||
| <DropdownMenuLabelclassName="p-2">{t("edit_event")}</DropdownMenuLabel> |
cubic-dev-aibotNov 4, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
DropdownMenuLabel already ships withpx-2 pb-1 pt-1.5, so addingp-2 doesn’t override the vertical padding—Tailwind’s directional paddings still win and the spacing fix never lands. Use an!important vertical padding override instead to get the intended spacing.
Prompt for AI agents
Address the following comment on apps/web/components/booking/BookingActionsDropdown.tsx at line 517:<comment>`DropdownMenuLabel` already ships with `px-2 pb-1 pt-1.5`, so adding `p-2` doesn’t override the vertical padding—Tailwind’s directional paddings still win and the spacing fix never lands. Use an `!important` vertical padding override instead to get the intended spacing.</comment><file context>@@ -514,7 +514,7 @@ export function BookingActionsDropdown({ booking }: BookingActionsDropdownProps) <DropdownMenuPortal> <DropdownMenuContent>- <DropdownMenuLabel className="px-2 pb-1 pt-1.5">{t("edit_event")}</DropdownMenuLabel>+ <DropdownMenuLabel className="p-2">{t("edit_event")}</DropdownMenuLabel> {editEventActions.map((action) => ( <DropdownMenuItem className="rounded-lg" key={action.id} disabled={action.disabled}></file context>| <DropdownMenuLabelclassName="p-2">{t("edit_event")}</DropdownMenuLabel> | |
| <DropdownMenuLabelclassName="!py-2">{t("edit_event")}</DropdownMenuLabel> |
github-actionsbot commentedNov 4, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
E2E results are ready! |
Udit-takkar left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
vercelbot commentedNov 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The latest updates on your projects. Learn more aboutVercel for GitHub. |
92f1baa intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
What does this PR do?
This PR fixes some spacing issues on the edit event dropdown.
Visual Demo (For contributors especially)
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist