mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Allow for the web generation dialog to disable the margin of the tools generation components (#11565)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { coerceBooleanProperty } from "@angular/cdk/coercion";
|
||||
import { OnInit, Input, Output, EventEmitter, Component, OnDestroy } from "@angular/core";
|
||||
import { FormBuilder } from "@angular/forms";
|
||||
import { BehaviorSubject, skip, takeUntil, Subject } from "rxjs";
|
||||
@@ -47,6 +48,9 @@ export class PassphraseSettingsComponent implements OnInit, OnDestroy {
|
||||
@Input()
|
||||
showHeader: boolean = true;
|
||||
|
||||
/** Removes bottom margin from `bit-section` */
|
||||
@Input({ transform: coerceBooleanProperty }) disableMargin = false;
|
||||
|
||||
/** Emits settings updates and completes if the settings become unavailable.
|
||||
* @remarks this does not emit the initial settings. If you would like
|
||||
* to receive live settings updates including the initial update,
|
||||
|
||||
Reference in New Issue
Block a user