From 574c18ba3faf26165e568f55aa89d0a2d4480b74 Mon Sep 17 00:00:00 2001 From: Patrick Demers Date: Fri, 6 Jan 2023 15:11:34 -0600 Subject: [PATCH] browser - modify styling to remove scrolling glitch in virtual list (#4316) --- .../components/cipher-row.component.html | 86 ++++++++++--------- apps/browser/src/popup/scss/box.scss | 9 +- .../popup/vault/vault-filter.component.html | 2 +- .../popup/vault/vault-items.component.html | 2 +- 4 files changed, 52 insertions(+), 47 deletions(-) diff --git a/apps/browser/src/popup/components/cipher-row.component.html b/apps/browser/src/popup/components/cipher-row.component.html index ebb18bebe8..8ac9147cb9 100644 --- a/apps/browser/src/popup/components/cipher-row.component.html +++ b/apps/browser/src/popup/components/cipher-row.component.html @@ -1,49 +1,51 @@
- - - + {{ cipher.subTitle }} +
+ + + + diff --git a/apps/browser/src/popup/scss/box.scss b/apps/browser/src/popup/scss/box.scss index 7236adc035..a14427357f 100644 --- a/apps/browser/src/popup/scss/box.scss +++ b/apps/browser/src/popup/scss/box.scss @@ -115,11 +115,14 @@ &.list { margin: 10px 0 20px 0; .box-content { + .virtual-scroll-item { + display: inline-block; + width: 100%; + } + .box-content-row { - padding: 5px 10px; text-decoration: none; border-radius: $border-radius; - margin: 5px; // background-color: $background-color; @include themify($themes) { @@ -230,7 +233,7 @@ position: relative; z-index: 1; border-radius: $border-radius; - margin: 8px 5px; + margin: 3px 5px; @include themify($themes) { background-color: themed("boxBackgroundColor"); diff --git a/apps/browser/src/popup/vault/vault-filter.component.html b/apps/browser/src/popup/vault/vault-filter.component.html index 26689a5055..8e459a2600 100644 --- a/apps/browser/src/popup/vault/vault-filter.component.html +++ b/apps/browser/src/popup/vault/vault-filter.component.html @@ -200,7 +200,7 @@

{{ "noItemsInList" | i18n }}