aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/item_handlers
diff options
context:
space:
mode:
authorZéro~Informatique2023-03-26 00:29:32 +0100
committerZéro~Informatique2023-03-26 00:38:06 +0100
commitfd5f97a5b688096ada9d34459bab42c417eec82b (patch)
tree484cb1f7c0449e510bce9314294dbe339a6d5a3a /viewer/src/views/item_handlers
parent64f3ee483b2148c773a404ca296836f7259a9670 (diff)
downloadldgallery-fd5f97a5b688096ada9d34459bab42c417eec82b.tar.gz
viewer: cannot scroll in text viewer
GitHub: closes #360
Diffstat (limited to 'viewer/src/views/item_handlers')
-rw-r--r--viewer/src/views/item_handlers/PlainTextViewer.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/viewer/src/views/item_handlers/PlainTextViewer.vue b/viewer/src/views/item_handlers/PlainTextViewer.vue
index 2ab429a..986e0ae 100644
--- a/viewer/src/views/item_handlers/PlainTextViewer.vue
+++ b/viewer/src/views/item_handlers/PlainTextViewer.vue
@@ -26,6 +26,7 @@
26 > 26 >
27 <pre 27 <pre
28 v-if="isFinished" 28 v-if="isFinished"
29 class="scrollbar"
29 v-text="data" 30 v-text="data"
30 /> 31 />
31 <LdLoading v-else /> 32 <LdLoading v-else />
@@ -63,7 +64,7 @@ const { isFinished, data } = useFetch(itemResourceUrl).text();
63 border: none; 64 border: none;
64 white-space: pre-wrap; 65 white-space: pre-wrap;
65 resize: horizontal; // Allow the user to adjust the width of the text view for easier column reading. 66 resize: horizontal; // Allow the user to adjust the width of the text view for easier column reading.
66 overflow: hidden; // Necessary for the resize handle to be shown in Chromium. 67 overflow-x: hidden !important; // Necessary for the resize handle to be shown in Chromium.
67 } 68 }
68} 69}
69</style> 70</style>