mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
[PM-23720] add margin bottom to spotlight component (#15605)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<ng-container *ngIf="showNewItemSpotlight$ | async">
|
||||
@if (showNewItemSpotlight$ | async) {
|
||||
<bit-spotlight
|
||||
[title]="nudgeTitle"
|
||||
[subtitle]="nudgeBody"
|
||||
(onDismiss)="dismissNewItemSpotlight()"
|
||||
>
|
||||
</bit-spotlight>
|
||||
</ng-container>
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AsyncPipe, NgIf } from "@angular/common";
|
||||
import { AsyncPipe } from "@angular/common";
|
||||
import { Component, input } from "@angular/core";
|
||||
import { toObservable } from "@angular/core/rxjs-interop";
|
||||
import { combineLatest, firstValueFrom, map, of, switchMap } from "rxjs";
|
||||
@@ -14,7 +14,7 @@ import { CipherType } from "@bitwarden/sdk-internal";
|
||||
@Component({
|
||||
selector: "vault-new-item-nudge",
|
||||
templateUrl: "./new-item-nudge.component.html",
|
||||
imports: [NgIf, SpotlightComponent, AsyncPipe],
|
||||
imports: [SpotlightComponent, AsyncPipe],
|
||||
})
|
||||
export class NewItemNudgeComponent {
|
||||
configType = input.required<CipherType | null>();
|
||||
|
||||
Reference in New Issue
Block a user