1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

[CL-522] Reduce font size for checkbox and radio labels (#12251)

This commit is contained in:
Victoria League
2024-12-09 14:10:14 -05:00
committed by GitHub
parent f7b81231bc
commit 0906c503e1
6 changed files with 16 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
<ng-container *ngIf="label">
<fieldset>
<legend class="tw-mb-1 tw-block tw-text-base tw-font-semibold tw-text-main">
<legend class="tw-mb-1 tw-block tw-text-sm tw-font-semibold tw-text-main">
<ng-content select="bit-label"></ng-content>
<span *ngIf="required" class="tw-text-xs tw-font-normal"> ({{ "required" | i18n }})</span>
</legend>

View File

@@ -25,10 +25,9 @@ export class RadioInputComponent implements BitFormControlAbstraction {
"tw-border",
"tw-border-solid",
"tw-border-secondary-600",
"tw-w-5",
"tw-h-5",
"tw-w-[1.12rem]",
"tw-h-[1.12rem]",
"tw-mr-1.5",
"tw-bottom-[-1px]", // Fix checkbox looking off-center
"tw-flex-none", // Flexbox fix for bit-form-control
"hover:tw-border-2",