Skip to content

Commit 2b93540

Browse files
committed
Chore: Merge branch 'main' into fix/safari-scroll
2 parents c20acce + a76777b commit 2b93540

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

assets/css/v2/style.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ textarea:not([rows]) {
309309

310310
--header-height: 4rem;
311311

312-
--sidebar-width: min(24rem, 100%);
312+
--sidebar-width: min(22rem, 100%);
313313
--sidebar-item-padding-lr: 0.75rem;
314314
--sidebar-item-padding-tb: 0.25rem;
315315
--content-max-width: 88rem;
@@ -442,7 +442,7 @@ ol li:last-child {
442442
}
443443
}
444444
.content {
445-
padding: 0 var(--space-l) 2rem;
445+
padding: 0 var(--space-xl) 2rem;
446446
}
447447

448448
.header__logo-small {
@@ -749,7 +749,7 @@ ol li:last-child {
749749
background: oklch(var(--color-background));
750750
box-sizing: border-box;
751751
transform: translateX(0);
752-
padding: 0 0 var(--space-s) var(--space-s);
752+
padding-inline-start: var(--space-s);
753753

754754
.sidebar__container {
755755
display: flex;
@@ -1589,6 +1589,7 @@ nav.sidebar.sidebar__mobile-open {
15891589
transition:
15901590
background-color 0.2s ease,
15911591
color 0.2s ease;
1592+
text-wrap: wrap;
15921593

15931594
&:hover {
15941595
background-color: oklch(var(--color-brand) / 0.08);
@@ -1853,6 +1854,7 @@ a:hover {
18531854
display: flex;
18541855
flex-direction: row;
18551856
gap: 1rem;
1857+
word-break: break-word;
18561858
align-items: flex-start;
18571859
color: oklch(var(--color-brand));
18581860

layouts/partials/banner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{- if isset . "md" -}}
1111
<!-- Show markdown if "md" is provided -->
1212
{{- $bannerPage := readFile .md -}}
13-
<div class="banner{{ if .type }} banner-{{ .type }}{{ end }}" data-grid="first-two-thirds">
13+
<div class="banner{{ if .type }} banner-{{ .type }}{{ end }}">
1414
{{ $bannerPage | markdownify }}
1515
</div>
1616
{{- else -}}

0 commit comments

Comments
 (0)