1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[CL-351] Prevent tw-group styling conflicts by namespacing (#12261)

This commit is contained in:
Victoria League
2024-12-09 15:13:42 -05:00
committed by GitHub
parent 9c1e2ebd67
commit 4daba832a2
7 changed files with 6 additions and 8 deletions

View File

@@ -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",

View File

@@ -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"
>
<i class="bwi {{ product.icon }} tw-text-4xl !tw-m-0 !tw-mb-1"></i>
<span
class="tw-max-w-24 tw-text-center tw-text-sm tw-leading-snug group-hover:tw-underline"
class="tw-max-w-24 tw-text-center tw-text-sm tw-leading-snug group-hover/product-link:tw-underline"
>{{ product.name }}</span
>
</a>

View File

@@ -54,7 +54,7 @@
</p>
<bit-table *ngIf="!loading && global.length > 0">
<ng-template body>
<tr bitRow *ngFor="let d of global" class="tw-group">
<tr bitRow *ngFor="let d of global">
<td bitCell [ngClass]="{ 'table-list-strike': d.excluded }">{{ d.domains }}</td>
<td bitCell>
<button