fix: cap left-hand sidebar to 300px max-width (#19870)

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-04-25 11:35:52 +02:00 committed by GitHub
parent adea1cacc1
commit 86dbe42ff3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View File

@ -274,8 +274,6 @@
"lg:grid-cols-3",
"lg:grid-cols-main-lg",
"lg:hidden",
"lg:max-w-[300px]",
"lg:ml-auto",
"lg:no-underline",
"lg:pb-2",
"lg:scale-100",
@ -288,6 +286,7 @@
"max-h-full",
"max-w-56",
"max-w-[1400px]",
"max-w-[300px]",
"max-w-[840px]",
"max-w-full",
"max-w-none",

View File

@ -25,9 +25,9 @@
$store.showSidebar = false;
"
>
<div class="w-full ml-auto p-2">
{{ block "left" . }}
{{ end }}
<div class="max-w-[300px] ml-auto p-2">
{{ block "left" . }}
{{ end }}
</div>
</div>
<div class="min-w-0 px-4 pb-32">