From 4daba832a2a32c347228f35593f68548746cf463 Mon Sep 17 00:00:00 2001 From: Victoria League Date: Mon, 9 Dec 2024 15:13:42 -0500 Subject: [PATCH] [CL-351] Prevent tw-group styling conflicts by namespacing (#12261) --- .../app/billing/organizations/change-plan-dialog.component.ts | 1 - .../product-switcher/product-switcher-content.component.html | 4 ++-- apps/web/src/app/settings/domain-rules.component.html | 2 +- .../providers/clients/create-client-dialog.component.html | 2 +- .../providers/clients/create-client-dialog.component.ts | 2 +- libs/components/src/layout/layout.component.html | 2 +- libs/components/src/table/sortable.component.ts | 1 - 7 files changed, 6 insertions(+), 8 deletions(-) diff --git a/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts b/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts index c58db11502..572b797951 100644 --- a/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts +++ b/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts @@ -350,7 +350,6 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy { switch (cardState) { case PlanCardState.Selected: { return [ - "tw-group", "tw-cursor-pointer", "tw-block", "tw-rounded", diff --git a/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html b/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html index 41346675bb..204737eee2 100644 --- a/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html +++ b/apps/web/src/app/layouts/product-switcher/product-switcher-content.component.html @@ -17,12 +17,12 @@ ? 'tw-bg-primary-600 tw-font-bold !tw-text-contrast tw-ring-offset-2 hover:tw-bg-primary-600' : '' " - class="tw-group tw-flex tw-h-24 tw-w-28 tw-flex-col tw-items-center tw-justify-center tw-rounded tw-p-1 tw-text-primary-600 tw-outline-none hover:tw-bg-background-alt hover:tw-text-primary-700 hover:tw-no-underline focus-visible:!tw-ring-2 focus-visible:!tw-ring-primary-700" + class="tw-group/product-link tw-flex tw-h-24 tw-w-28 tw-flex-col tw-items-center tw-justify-center tw-rounded tw-p-1 tw-text-primary-600 tw-outline-none hover:tw-bg-background-alt hover:tw-text-primary-700 hover:tw-no-underline focus-visible:!tw-ring-2 focus-visible:!tw-ring-primary-700" ariaCurrentWhenActive="page" > {{ product.name }} diff --git a/apps/web/src/app/settings/domain-rules.component.html b/apps/web/src/app/settings/domain-rules.component.html index 1c8e5e435e..a3bea63fb8 100644 --- a/apps/web/src/app/settings/domain-rules.component.html +++ b/apps/web/src/app/settings/domain-rules.component.html @@ -54,7 +54,7 @@

- + {{ d.domains }}