Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion assets/css/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,21 @@
overflow-wrap: anywhere;
padding: 0 4px;
table & {
overflow-wrap: nowrap;
overflow-wrap: unset;
}
}

/* Indented code blocks */
:not(.highlight) > pre {
@apply my-4 overflow-x-auto p-3;
font-size: 0.875em;
border: 1px solid;
border-radius: theme("spacing.1");
background: theme("colors.white");
border-color: theme("colors.gray.light.300");
.dark & {
background: theme("colors.gray.dark.200");
border-color: theme("colors.gray.dark.300");
}
}

Expand Down
2 changes: 1 addition & 1 deletion hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@
"lg:grid-cols-3",
"lg:grid-cols-main-lg",
"lg:hidden",
"lg:max-w-[300px]",
"lg:no-underline",
"lg:pb-2",
"lg:scale-100",
Expand All @@ -286,7 +287,6 @@
"max-h-full",
"max-w-56",
"max-w-[1400px]",
"max-w-[300px]",
"max-w-[840px]",
"max-w-full",
"max-w-none",
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$store.showSidebar = false;
"
>
<div class="max-w-[300px] ml-auto p-2">
<div class="w-full max-w-none lg:max-w-[300px] ml-auto p-2">
{{ block "left" . }}
{{ end }}
</div>
Expand Down