From 5bf6d999eb146aff1ea81f5bba9b4306d4aa01f1 Mon Sep 17 00:00:00 2001 From: Iris Hoffmeyer Date: Fri, 26 Jul 2024 10:41:01 -0400 Subject: [PATCH] Overflow with scrollbar in search This allows users to scroll the entire object if it overflows. project-obj-content needs to be unset or it's styling overrides this. (which is undesirable for search specifically) --- components/viewer/modal/SearchModal.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/viewer/modal/SearchModal.vue b/components/viewer/modal/SearchModal.vue index 4bf5e14..47b8a9e 100644 --- a/components/viewer/modal/SearchModal.vue +++ b/components/viewer/modal/SearchModal.vue @@ -198,6 +198,12 @@ const preview = (obj: ProjectObj, row: ProjectRow) => { align-items: stretch; justify-content: stretch; overflow: auto; + .project-obj { + overflow-y: scroll; + } + .project-obj-content { + overflow: unset; + } } .result-group {