From 0f55024c8a77008aee9b26ac62560a76759f86ff Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Tue, 5 Mar 2024 11:28:44 +0800 Subject: [PATCH] fix: change the strollbar's position --- frontend/src/views/Files.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Files.vue b/frontend/src/views/Files.vue index b966f767..1d90974b 100644 --- a/frontend/src/views/Files.vue +++ b/frontend/src/views/Files.vue @@ -54,8 +54,7 @@ export default { currentView() { if (this.req.type == undefined || this.req.isDir) { return null; - } - else if ( + } else if ( this.req.type === "text" || this.req.type === "textImmutable" ) { @@ -151,3 +150,9 @@ export default { }, }; +