Skip to content

Commit

Permalink
fix scrollable divs
Browse files Browse the repository at this point in the history
  • Loading branch information
JStruk committed Apr 9, 2024
1 parent 305c3ee commit e654e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/FormatJSON.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
v-model:value="JSONInput"
lang="json"
theme="chrome"
:options="{ useWorker: true, fontSize: 14 }"
:options="{ useWorker: true, fontSize: 14, showPrintMargin: false }"
class="h-full text-purple-500"
v-debounce:300ms="formatJSON"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ToolsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
>
<p class="text-4xl" :class="expanded ? 'rotate-180' : ''">&#10095;</p>
</div>
<div class="flex-1 bg-slate-100">
<div class="flex-1 bg-slate-100 overflow-scroll">
<router-view/>
</div>
</div>
Expand Down

0 comments on commit e654e9c

Please sign in to comment.