From fbfdd95958d272278af80a433fa5d57911c45fdc Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Sat, 9 Jan 2021 19:52:31 -0800 Subject: [PATCH 1/2] Fix large card layout on mobile --- .../document-card-large.component.html | 16 +++++++++------- .../document-card-large.component.scss | 2 +- 2 files changed, 10 insertions(+), 8 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 9502a4825..6f2742a8d 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 @@ -31,36 +31,38 @@

-
+
- Score: +
+ 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 0b1604d90..300caca59 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 @@ -15,7 +15,7 @@ .search-score-bar { width: 100px; height: 5px; - margin-top: 2px; + margin-top: 1px; } .document-card-check { From 49053b6ad2a7f7e39c5788d5ed7dbdb8ce6a61b5 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Sat, 9 Jan 2021 19:53:18 -0800 Subject: [PATCH 2/2] Prevent long title overflow on mobile --- .../document-card-large/document-card-large.component.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 300caca59..a549b6f53 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 @@ -12,6 +12,10 @@ mix-blend-mode: multiply; } +.card-title { + word-break: break-word; +} + .search-score-bar { width: 100px; height: 5px;