From 562b0e4239a985540c58024efcfc8a5ba866fccd Mon Sep 17 00:00:00 2001 From: skyoct <764213885@qq.com> Date: Mon, 23 May 2022 00:45:36 +0800 Subject: [PATCH] feat(app-console): fix collections list height (#114 #109) --- packages/app-console/src/views/database/collections.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/app-console/src/views/database/collections.vue b/packages/app-console/src/views/database/collections.vue index 1406868ce3..65ed117c4a 100644 --- a/packages/app-console/src/views/database/collections.vue +++ b/packages/app-console/src/views/database/collections.vue @@ -499,16 +499,18 @@ export default { border-radius: 3px; .doc { flex: 1; - max-width: 88%; + max-width: 85%; pre { width: 100%; - overflow: hidden; text-overflow: ellipsis; + overflow-x: hidden; + overflow-y: auto; + max-height: 200px; } } .tools { - width: 160px; + width: 15%; text-align: right; padding-top: 15px; }