diff options
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/src/views/item_handlers/PlainTextViewer.vue | 3 |
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> |