Skip to content

Commit

Permalink
fix the width so as to iPhone SE
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Jul 25, 2023
1 parent d22e64f commit 71048df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/main/trace-frame/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</style>
4 changes: 3 additions & 1 deletion src/components/main/trace-frame/ScriptEditor.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<v-layout full-height style="width: 100%">
<!-- <v-layout full-height style="max-inline-size: 100%"> -->
<v-layout full-height>
<v-card flat class="g-container" rounded="0">
<div class="g-content">
<div ref="editor" style="height: 100%; max-height: 100%"></div>
Expand Down Expand Up @@ -145,6 +146,7 @@ function reset() {
.g-content {
grid-area: content;
block-size: 100%;
inline-size: 100%;
}
.g-header {
Expand Down

0 comments on commit 71048df

Please sign in to comment.