Browse Source

[PS-1840] - fix for covered dropdown on empty vault (#4019)

* fix for covered dropdown on empty vault

This could be done one of 2-3 ways. I think this might be the least problematic, but could also be done with just changing "position: absolute" to "relative on the ".no-items" class - base.css:461 For some reason, I'm unable to load the spinner to test.

* rename class
pull/4025/head
DanHillesheim 3 years ago committed by GitHub
parent
commit
4410eb6270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      apps/browser/src/popup/scss/misc.scss
  2. 5
      apps/browser/src/popup/vault/vault-filter.component.html

5
apps/browser/src/popup/scss/misc.scss

@ -135,6 +135,11 @@ p.lead { @@ -135,6 +135,11 @@ p.lead {
border-radius: $border-radius;
}
.select-index-top {
position: relative;
z-index: 100;
}
.sr-only {
position: absolute !important;
width: 1px !important;

5
apps/browser/src/popup/vault/vault-filter.component.html

@ -23,7 +23,10 @@ @@ -23,7 +23,10 @@
</div>
</header>
<main tabindex="-1" cdk-scrollable>
<app-vault-select (onVaultSelectionChanged)="vaultFilterChanged()"></app-vault-select>
<app-vault-select
(onVaultSelectionChanged)="vaultFilterChanged()"
class="select-index-top"
></app-vault-select>
<div class="no-items" *ngIf="(!ciphers || !ciphers.length) && !showSearching()">
<i class="bwi bwi-spinner bwi-spin bwi-3x" *ngIf="!loaded"></i>
<ng-container *ngIf="loaded">

Loading…
Cancel
Save