Skip to content

Commit 86dbe42

Browse files
authored
fix: cap left-hand sidebar to 300px max-width (#19870)
Signed-off-by: David Karlsson <[email protected]>
1 parent adea1ca commit 86dbe42

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

hugo_stats.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,6 @@
274274
"lg:grid-cols-3",
275275
"lg:grid-cols-main-lg",
276276
"lg:hidden",
277-
"lg:max-w-[300px]",
278-
"lg:ml-auto",
279277
"lg:no-underline",
280278
"lg:pb-2",
281279
"lg:scale-100",
@@ -288,6 +286,7 @@
288286
"max-h-full",
289287
"max-w-56",
290288
"max-w-[1400px]",
289+
"max-w-[300px]",
291290
"max-w-[840px]",
292291
"max-w-full",
293292
"max-w-none",

layouts/_default/baseof.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
$store.showSidebar = false;
2626
"
2727
>
28-
<div class="w-full ml-auto p-2">
29-
{{ block "left" . }}
30-
{{ end }}
28+
<div class="max-w-[300px] ml-auto p-2">
29+
{{ block "left" . }}
30+
{{ end }}
3131
</div>
3232
</div>
3333
<div class="min-w-0 px-4 pb-32">

0 commit comments

Comments
 (0)