From b44ca770a5fde737bff999ad05aa57657dc506c2 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Mon, 28 Dec 2020 14:20:00 -0800 Subject: [PATCH] Fix some white partial pixels around borders --- .../document-card-large.component.html | 10 +++++----- .../document-card-large.component.scss | 6 +----- .../document-card-small.component.html | 4 ++-- src-ui/src/theme_dark.scss | 6 ++++-- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index c1757eb35..729b02613 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -1,7 +1,7 @@
-
- +
+
@@ -55,16 +55,16 @@  Download - +
Score: - + Created: {{document.created | date}}
- +
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss index eb744d2af..0b1604d90 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss @@ -30,10 +30,6 @@ border-color: $primary; } -.doc-img-background { - background-color: white; -} - .doc-img-background-selected { background-color: $primaryFaded; -} \ No newline at end of file +} diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html index 9d808e84b..83ba8c274 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html @@ -1,7 +1,7 @@
-
+
- +
diff --git a/src-ui/src/theme_dark.scss b/src-ui/src/theme_dark.scss index 83f8cbf60..0603ce4cb 100644 --- a/src-ui/src/theme_dark.scss +++ b/src-ui/src/theme_dark.scss @@ -93,13 +93,15 @@ $border-color-dark-mode: #47494f; .doc-img-container { border: none !important; + border-radius: .25rem; + overflow: hidden; } .doc-img { mix-blend-mode: normal; filter: invert(95%) hue-rotate(180deg); - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; + border-color: $border-color-dark-mode; + border-radius: 0; } .card-selected .doc-img {