From 71048df4d4800606871741d03fc14e9d1c8c543c Mon Sep 17 00:00:00 2001 From: Tai Sakuma Date: Tue, 25 Jul 2023 10:46:43 -0400 Subject: [PATCH] fix the width so as to iPhone SE --- src/components/main/trace-frame/Layout.vue | 3 ++- src/components/main/trace-frame/ScriptEditor.vue | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/main/trace-frame/Layout.vue b/src/components/main/trace-frame/Layout.vue index b4efd4f..2465ec7 100644 --- a/src/components/main/trace-frame/Layout.vue +++ b/src/components/main/trace-frame/Layout.vue @@ -43,7 +43,8 @@ const traceIds = computed(() => traceIdSubscription.data.value); .g-container { display: grid; block-size: 100%; - grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); + inline-size: 100%; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px; } diff --git a/src/components/main/trace-frame/ScriptEditor.vue b/src/components/main/trace-frame/ScriptEditor.vue index 22119c7..8aac504 100644 --- a/src/components/main/trace-frame/ScriptEditor.vue +++ b/src/components/main/trace-frame/ScriptEditor.vue @@ -1,5 +1,6 @@