1
0
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:
Jason Ng
2025-07-15 10:16:57 -04:00
committed by GitHub
parent c6fd7b65e6
commit ea6a9593b9
3 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
<ng-container *ngIf="showNewItemSpotlight$ | async">
@if (showNewItemSpotlight$ | async) {
<bit-spotlight
[title]="nudgeTitle"
[subtitle]="nudgeBody"
(onDismiss)="dismissNewItemSpotlight()"
>
</bit-spotlight>
</ng-container>
}

View File

@@ -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>();