fix: inconsistent padding in form controls#2164
Conversation
Greptile SummaryThis PR addresses visual inconsistencies in form controls by standardising padding on
Confidence Score: 5/5Small, self-contained styling changes with no logic or data-flow impact; safe to merge. All three files touch only Tailwind class strings. The fixed-height modifiers on No files require special attention.
|
| Filename | Overview |
|---|---|
| src/renderer/lib/ui/select.tsx | Padding in SelectTrigger simplified from asymmetric py-2 pr-2 pl-2.5 to symmetric px-2.5 py-1; fixed h-8/h-7 height constraints remain, so the visual height is unchanged. |
| src/renderer/lib/ui/tooltip.tsx | Removed h-full from TooltipTrigger's base class, scoping the hover/trigger area to the wrapped element's natural dimensions across all 40 callers. |
| src/renderer/features/settings/components/NotificationSettingsCard.tsx | Removed size="sm" from the custom-sound Button (now defaults to h-8) and added bg-transparent to override the outline variant's bg-background, aligning it with the SelectTrigger height in the same settings row. |
Reviews (1): Last reviewed commit: "fix: consistent padding and alignment in..." | Re-trigger Greptile
summary