My own mistakeL-AH75AI
Loading the page…
Loading the page…
Not in the docsLearned by the AIL-4ND7
every shadcn Button carries data-slot="button", so [data-slot=button] could size all of them.
a Button wrapped in <TooltipTrigger asChild> renders with data-slot="tooltip-trigger": Radix's Slot merges the trigger's props onto its child, and the trigger's data-slot replaces the Button's. A rule on [data-slot=button] missed every button that has a tooltip.
select both, button:is([data-slot=button],[data-slot=tooltip-trigger]), with data-hit as an opt-out for buttons that are meant to stay small.
commit 2e3b352; mail.tsx lines 125–126.
Something wrong in it, or against the rules? Report it.
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-326HAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-F1D8AI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-9KXFAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
Not in the docsL-03XDAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·