From fd5f97a5b688096ada9d34459bab42c417eec82b Mon Sep 17 00:00:00 2001 From: Zéro~Informatique Date: Sun, 26 Mar 2023 00:29:32 +0100 Subject: viewer: cannot scroll in text viewer GitHub: closes #360 --- viewer/src/views/item_handlers/PlainTextViewer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'viewer/src') 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 @@ >
     
@@ -63,7 +64,7 @@ const { isFinished, data } = useFetch(itemResourceUrl).text();
     border: none;
     white-space: pre-wrap;
     resize: horizontal; // Allow the user to adjust the width of the text view for easier column reading.
-    overflow: hidden; // Necessary for the resize handle to be shown in Chromium.
+    overflow-x: hidden !important; // Necessary for the resize handle to be shown in Chromium.
   }
 }
 
-- 
cgit v1.2.3