1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +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

@@ -7,7 +7,7 @@
class="tw-inline-flex tw-flex-col"
[ngClass]="formControl.disabled ? 'tw-text-muted' : 'tw-text-main'"
>
<span bitTypography="body1">
<span bitTypography="body2">
<ng-content select="bit-label"></ng-content>
<span *ngIf="required" class="tw-text-xs tw-font-normal"> ({{ "required" | i18n }})</span>
</span>

View File

@@ -1,13 +1,14 @@
import { NgModule } from "@angular/core";
import { SharedModule } from "../shared";
import { TypographyModule } from "../typography";
import { FormControlComponent } from "./form-control.component";
import { BitHintComponent } from "./hint.component";
import { BitLabel } from "./label.component";
@NgModule({
imports: [SharedModule, BitLabel],
imports: [SharedModule, BitLabel, TypographyModule],
declarations: [FormControlComponent, BitHintComponent],
exports: [FormControlComponent, BitLabel, BitHintComponent],
})