1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

remove hint margin in radio button (#14223)

This commit is contained in:
Bryan Cunningham
2025-04-10 14:42:15 -04:00
committed by GitHub
parent d166cb9662
commit f24a4d139d

View File

@@ -16,7 +16,7 @@ let nextId = 0;
export class RadioButtonComponent { export class RadioButtonComponent {
@HostBinding("attr.id") @Input() id = `bit-radio-button-${nextId++}`; @HostBinding("attr.id") @Input() id = `bit-radio-button-${nextId++}`;
@HostBinding("class") get classList() { @HostBinding("class") get classList() {
return [this.block ? "tw-block" : "tw-inline-block", "tw-mb-1"]; return [this.block ? "tw-block" : "tw-inline-block", "tw-mb-1", "[&_bit-hint]:tw-mt-0"];
} }
@Input() value: unknown; @Input() value: unknown;