@@ -26,53 +26,50 @@ const props = {
2626---
2727
2828<StarlightPage {... props }>
29- <Header entries ={ notes } />
30- <div
31- class =" w-full max-w-[50rem] justify-self-center px-4 md:grid md:grid-cols-[15%_auto]"
32- >
33- {
34- notes .map (async (entry ) => {
35- const date = format (entry .data .date , " MMM dd, yyyy" );
36- const time = format (entry .data .date , " hh:mm a" );
37- const productIds = JSON .stringify (
38- entry .data .products .map ((product ) => product .id ),
39- );
40-
41- const { Content } = await render (entry );
42-
43- return (
44- <>
45- <div class = " !mt-0" data-products = { productIds } >
46- <p class = " md:content-center md:pr-4 md:text-right md:leading-none" >
47- <strong class = " text-xs" >{ date } </strong >
48- <span class = " text-xs" >{ time } </span >
49- </p >
50- </div >
51- <Steps >
52- <ol class = " !mt-0 overflow-x-auto" data-products = { productIds } >
53- <li class = " !pb-16" >
54- <div >
29+ <Header notes ={ notes } />
30+ {
31+ notes .map (async (entry ) => {
32+ const date = format (entry .data .date , " MMM dd, yyyy" );
33+ const time = format (entry .data .date , " hh:mm a" );
34+ const productIds = JSON .stringify (
35+ entry .data .products .map ((product ) => product .id ),
36+ );
37+
38+ const { Content } = await render (entry );
39+
40+ return (
41+ <div class = " !mt-0 sm:flex" data-products = { productIds } >
42+ <time
43+ datetime = { entry .data .date .toISOString ()}
44+ class = " whitespace-nowrap leading-none sm:pr-4 sm:text-right"
45+ >
46+ <strong class = " text-xs" >{ date } </strong >
47+ <span class = " text-xs sm:block" >{ time } </span >
48+ </time >
49+ <Steps >
50+ <ol class = " !mt-0 overflow-x-auto" >
51+ <li class = " !pb-16" >
52+ <div >
53+ <h3 class = " leading-none" >
5554 <a
5655 href = { ` /changelog-next/${entry .id }/ ` }
57- class = " no-underline hover:underline"
56+ class = " mb-4 !text-black no-underline hover:underline"
5857 >
59- <h3 class = " mb-4 !leading-[36px] text-black" >
60- { entry .data .title }
61- </h3 >
58+ { entry .data .title }
6259 </a >
63- < ProductPills products = { entry . data . products } / >
64- </ div >
65- < p >
66- < Content / >
67- </ p >
68- </li >
69- </ol >
70- </Steps >
71- </>
72- );
73- })
74- }
75- </ div >
60+ </ h3 >
61+ <ProductPills products = { entry . data . products } / >
62+ </ div >
63+ < p >
64+ <Content / >
65+ </p >
66+ </li >
67+ </ol >
68+ </Steps >
69+ </ div >
70+ );
71+ })
72+ }
7673</StarlightPage >
7774
7875<script >
@@ -111,52 +108,31 @@ const props = {
111108
112109<style >
113110 :root {
114- --sl-content-width: 100% !important;
115-
116- .sl-markdown-content
117- :not(a, strong, em, del, span, input, code, br)
118- + :not(
119- a,
120- strong,
121- em,
122- del,
123- span,
124- input,
125- code,
126- br,
127- :where(.not-content *)
128- ) {
129- margin-top: 1.5rem;
130- }
131-
132- .sl-markdown-content {
133- margin-top: 0px !important;
134- }
135-
136- .content-panel {
137- padding: 0px !important;
111+ .sl-container {
112+ --sl-content-width: 50rem !important;
113+ margin-inline: auto !important;
138114 }
139115
140116 .feedback-prompt-content {
141117 display: none !important;
142118 }
143119
144120 #footer-links {
145- justify-self : center;
121+ justify-content : center;
146122 }
123+ }
147124
148- .sl-steps {
149- --bullet-size: 24px !important;
125+ .sl-steps {
126+ --bullet-size: 24px !important;
150127
151- & > li {
152- padding-inline-start: calc(var(--bullet-size) + 2.5rem) !important;
128+ & > li {
129+ padding-inline-start: calc(var(--bullet-size) + 2.5rem) !important;
153130
154- &::before {
155- content: "•" !important;
156- font-size: calc(var(--bullet-size) * 2) !important;
157- line-height: calc(var(--bullet-size) / 1.5) !important;
158- color: var(--orange-accent-200) !important;
159- }
131+ &::before {
132+ content: "•" !important;
133+ font-size: calc(var(--bullet-size) * 2) !important;
134+ line-height: calc(var(--bullet-size) / 1.5) !important;
135+ color: var(--orange-accent-200) !important;
160136 }
161137 }
162138 }
0 commit comments