fix: change the strollbar's position

This commit is contained in:
niubility000 2024-03-05 11:28:44 +08:00 committed by GitHub
parent ca115465e7
commit 0f55024c8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {
},
};
</script>
<style>
#listing{
height: calc(100vh - 8em);
overflow-y: auto;
}
</style>