1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53: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,5 +1,5 @@
<div <div
class="tw-rounded-2xl tw-bg-primary-100 tw-border-primary-600 tw-border-solid tw-border tw-p-4 tw-pt-3 tw-flex tw-flex-col tw-gap-2" class="tw-rounded-2xl tw-bg-primary-100 tw-border-primary-600 tw-border-solid tw-border tw-p-4 tw-pt-3 tw-flex tw-flex-col tw-gap-2 tw-mb-4"
> >
<div class="tw-flex tw-justify-between tw-items-start tw-flex-grow"> <div class="tw-flex tw-justify-between tw-items-start tw-flex-grow">
<div> <div>

View File

@@ -1,8 +1,8 @@
<ng-container *ngIf="showNewItemSpotlight$ | async"> @if (showNewItemSpotlight$ | async) {
<bit-spotlight <bit-spotlight
[title]="nudgeTitle" [title]="nudgeTitle"
[subtitle]="nudgeBody" [subtitle]="nudgeBody"
(onDismiss)="dismissNewItemSpotlight()" (onDismiss)="dismissNewItemSpotlight()"
> >
</bit-spotlight> </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 { Component, input } from "@angular/core";
import { toObservable } from "@angular/core/rxjs-interop"; import { toObservable } from "@angular/core/rxjs-interop";
import { combineLatest, firstValueFrom, map, of, switchMap } from "rxjs"; import { combineLatest, firstValueFrom, map, of, switchMap } from "rxjs";
@@ -14,7 +14,7 @@ import { CipherType } from "@bitwarden/sdk-internal";
@Component({ @Component({
selector: "vault-new-item-nudge", selector: "vault-new-item-nudge",
templateUrl: "./new-item-nudge.component.html", templateUrl: "./new-item-nudge.component.html",
imports: [NgIf, SpotlightComponent, AsyncPipe], imports: [SpotlightComponent, AsyncPipe],
}) })
export class NewItemNudgeComponent { export class NewItemNudgeComponent {
configType = input.required<CipherType | null>(); configType = input.required<CipherType | null>();