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:
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user