mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 14:34:02 +00:00
move above-scroll-area padding to popup-page
This commit is contained in:
@@ -117,11 +117,7 @@ class MockCurrentAccountComponent {}
|
||||
|
||||
@Component({
|
||||
selector: "mock-search",
|
||||
template: `
|
||||
<div class="tw-p-4">
|
||||
<bit-search placeholder="Search"> </bit-search>
|
||||
</div>
|
||||
`,
|
||||
template: ` <bit-search placeholder="Search"> </bit-search> `,
|
||||
standalone: true,
|
||||
imports: [SearchModule],
|
||||
})
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<main class="tw-flex-1 tw-overflow-hidden tw-flex tw-flex-col tw-relative tw-bg-background-alt">
|
||||
<div
|
||||
#nonScrollable
|
||||
class="tw-transition-colors tw-duration-200 tw-border-0 tw-border-b tw-border-solid"
|
||||
class="tw-transition-colors tw-duration-200 tw-border-0 tw-border-b tw-border-solid tw-p-3 bit-compact:tw-p-2"
|
||||
[ngClass]="{
|
||||
'tw-invisible': loading || nonScrollable.childElementCount === 0,
|
||||
'tw-invisible !tw-p-0': loading || nonScrollable.childElementCount === 0,
|
||||
'tw-border-secondary-300': scrolled(),
|
||||
'tw-border-transparent': !scrolled(),
|
||||
}"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<app-current-account></app-current-account>
|
||||
</ng-container>
|
||||
</popup-header>
|
||||
<div slot="above-scroll-area" class="tw-p-4">
|
||||
<div slot="above-scroll-area">
|
||||
<bit-callout *ngIf="sendsDisabled" [title]="'sendDisabled' | i18n">
|
||||
{{ "sendDisabledWarning" | i18n }}
|
||||
</bit-callout>
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
</div>
|
||||
|
||||
<!-- Show search & filters outside of the scroll area of the page -->
|
||||
<div slot="above-scroll-area" class="tw-p-4" *ngIf="vaultState !== VaultStateEnum.Empty">
|
||||
<ng-container slot="above-scroll-area" *ngIf="vaultState !== VaultStateEnum.Empty">
|
||||
<app-vault-v2-search> </app-vault-v2-search>
|
||||
<app-vault-list-filters></app-vault-list-filters>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="vaultState !== VaultStateEnum.Empty">
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user