1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

[CL-181] Fix toggle group badge alignment (#8167)

This commit is contained in:
Victoria League
2024-03-01 16:17:24 -05:00
committed by GitHub
parent 8af1a1528b
commit f95ff93a71
2 changed files with 7 additions and 17 deletions

View File

@@ -70,10 +70,8 @@ export class ToggleComponent<TValue> {
// Fix for bootstrap styles that add bottom margin
"!tw-mb-0",
// Fix for badge being pushed slightly lower when inside a button.
// Inspired by bootstrap, which does the same.
"[&>[bitBadge]]:tw-relative",
"[&>[bitBadge]]:tw--top-px",
// Fix for badge being slightly off center vertically
"[&>[bitBadge]]:tw-mt-px",
];
}