We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ffb4a3 commit 5a365eeCopy full SHA for 5a365ee
layouts/default.vue
@@ -23,7 +23,9 @@ onBeforeUnmount(() => observer?.disconnect());
23
class="sticky top-0 w-[15%] min-w-[12rem] bg-leftbar-bg *:text-nowrap">
24
<BarLeft class="sticky top-0 min-w-[100%] *:text-nowrap" />
25
</div>
26
- <div ref="mainBody" class="flex-1">
+ <!-- min-w-3xl needed here for pre in the content to shrink (allows flex item shrinking) -->
27
+ <!-- if a smaller size is needed, use min-w-0 at least -->
28
+ <div ref="mainBody" class="min-w-3xl flex-1">
29
<div ref="dMainBody">
30
<slot />
31
0 commit comments