feat(website): group changelog patches by minor release
Keep each patch dated and directly linkable while reducing top-level changelog noise.
This commit is contained in:
@@ -176,6 +176,7 @@
|
||||
}
|
||||
|
||||
.changelog-release-heading:hover .changelog-heading-anchor,
|
||||
.changelog-patch-heading:hover .changelog-heading-anchor,
|
||||
.changelog-heading-anchor:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -184,13 +185,44 @@
|
||||
color: var(--color-foreground);
|
||||
}
|
||||
|
||||
.changelog-patches {
|
||||
display: grid;
|
||||
gap: 2.5rem;
|
||||
}
|
||||
|
||||
.changelog-patch + .changelog-patch {
|
||||
border-top: 1px solid var(--color-border);
|
||||
padding-top: 2.5rem;
|
||||
}
|
||||
|
||||
.changelog-patch-heading {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.625rem;
|
||||
scroll-margin-top: 1.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.changelog-patch-title {
|
||||
color: var(--color-foreground);
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.changelog-patch-heading .changelog-release-date {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.changelog-release-notes {
|
||||
color: color-mix(in srgb, var(--color-foreground) 76%, transparent);
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.changelog-release-notes h3 {
|
||||
.changelog-release-notes h3,
|
||||
.changelog-release-notes h4 {
|
||||
margin-top: 1.75rem;
|
||||
margin-bottom: 0.625rem;
|
||||
color: var(--color-muted-foreground);
|
||||
@@ -199,7 +231,8 @@
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.changelog-release-notes h3:first-child {
|
||||
.changelog-release-notes h3:first-child,
|
||||
.changelog-release-notes h4:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user