From 690aa8f60486a6312df846a5867a62463c26a2c3 Mon Sep 17 00:00:00 2001 From: Kostis Trantzas Date: Mon, 18 Nov 2024 19:19:49 +0200 Subject: [PATCH] Resource Inventory Notes overflow fix (#22) --- .../preview-resource/preview-resource.component.html | 2 +- .../preview-resource/preview-resource.component.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html index bdf2699..5dab83e 100644 --- a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html +++ b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html @@ -146,7 +146,7 @@ {{ note.text }}
written by {{ note.author }} @ - {{ note.date | date: "d MMM y, h:mm a" }} + {{ note.date | date: "d MMM y, h:mm:ss a" }}
diff --git a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss index 3cf0233..bc0591a 100644 --- a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss +++ b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss @@ -14,3 +14,8 @@ .tab-pane > .card:nth-child(1) { min-height: max(350px, 20vh); } + +.notes-container { + max-height: 265px; + overflow-y: auto; +} \ No newline at end of file -- GitLab