twenty/packages
Charles Bochet 13c4a71594
fix(ui): make CardPicker hover cover the whole card and align content left (#19884)
## Summary

Two small visual issues with the shared `CardPicker` (used in the
Enterprise plan modal and the onboarding plan picker):

- Labels like \`Monthly\` / \`Yearly\` were center-aligned inside their
cards while the subtitle (\`\$25 / seat / month\`) stayed left-aligned,
because the underlying \`<button>\` element's default \`text-align:
center\` was leaking into the children.
- The hover background was painted on the same element that owned the
inner padding, so the hover surface didn't visually feel like the whole
card.

This PR:
- Moves the content padding into a new \`StyledCardInner\` so the outer
\`<button>\` is just the card chrome (border + radius + background +
hover).
- Adds \`text-align: left\` so titles align with their subtitles.
- Hoists \`cursor: pointer\` out of \`:hover\` (it should be on by
default for the card).

Affects:
- \`EnterprisePlanModal\` (Settings → Enterprise)
- \`ChooseYourPlanContent\` (onboarding trial picker)
2026-04-20 17:00:12 +02:00
..
create-twenty-app Bump twenty-sdk, twenty-client-sdk, create-twenty-app to 1.23.0-canary.9 (#19883) 2026-04-20 13:21:00 +00:00
twenty-apps perf(sdk): split twenty-sdk barrel into per-purpose subpaths to cut logic-function bundle ~700x (#19834) 2026-04-18 19:38:34 +02:00
twenty-cli 1774 extensibility v1 create an exhaustive documentation readme or dedicated section in twenty contributing doc (#16751) 2025-12-22 15:19:11 +01:00
twenty-client-sdk Bump twenty-sdk, twenty-client-sdk, create-twenty-app to 1.23.0-canary.9 (#19883) 2026-04-20 13:21:00 +00:00
twenty-companion Migrate twenty-companion from npm to yarn workspaces (#18946) 2026-03-25 10:45:43 +01:00
twenty-docker Add twenty-managed Docker target with AWS CLI for EKS deployments (#19816) 2026-04-17 17:54:10 +00:00
twenty-docs i18n - docs translations (#19880) 2026-04-20 12:51:54 +02:00
twenty-e2e-testing shouldIncludeRecordPageLayouts deprecation (#19774) 2026-04-17 11:32:10 +00:00
twenty-emails i18n - translations (#18956) 2026-03-25 14:23:30 +01:00
twenty-front fix(ui): make CardPicker hover cover the whole card and align content left (#19884) 2026-04-20 17:00:12 +02:00
twenty-front-component-renderer perf(sdk): split twenty-sdk barrel into per-purpose subpaths to cut logic-function bundle ~700x (#19834) 2026-04-18 19:38:34 +02:00
twenty-oxlint-rules add workspaceId to indirect entities (#19522) 2026-04-09 19:30:28 +00:00
twenty-sdk Bump twenty-sdk, twenty-client-sdk, create-twenty-app to 1.23.0-canary.9 (#19883) 2026-04-20 13:21:00 +00:00
twenty-server Billing - Adapt to new unit (#19886) 2026-04-20 14:28:07 +00:00
twenty-shared feat(sdk): support viewSorts in app manifests (#19881) 2026-04-20 14:31:06 +02:00
twenty-ui fix(ui): make CardPicker hover cover the whole card and align content left (#19884) 2026-04-20 17:00:12 +02:00
twenty-utils Refactor dependency graph for SDK, client-sdk and create-app (#18963) 2026-03-26 10:56:52 +00:00
twenty-website Add AI as a public feature flag in the Lab (#19277) 2026-04-02 15:56:27 +00:00
twenty-website-new Redesign why-twenty page with three-section narrative (#19882) 2026-04-20 15:32:02 +02:00
twenty-zapier Deprecate legacy RICH_TEXT field metadata type (#18623) 2026-03-13 17:25:40 +01:00