File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313.s-prose {
1414 --s-prose-line-height : 1.5 ;
1515 --s-prose-spacing : 1.1em ;
16- --s-prose-spacing-half : calc (var (--s-prose-spacing ) / 2 );
16+ --s-prose-spacing-condensed : calc (var (--s-prose-spacing ) / 2 ); // Reduce the base spacing by half in the context of lists, etc.
1717
1818 // Base styling
1919 font-size : 15px ; // Force a font size that doesn’t change at the smallest breakpoint
206206 dd ,
207207 ul ,
208208 ol {
209- margin-bottom : var (--s-prose-spacing-half );
209+ margin-bottom : var (--s-prose-spacing-condensed );
210210 }
211211
212212 pre {
213213 // Add some more spacing on the bottom
214214 // For a little extra optical alignment
215- margin-bottom : calc (var (--s-prose-spacing-half ) + .1em );
215+ margin-bottom : calc (var (--s-prose-spacing-condensed ) + .1em );
216216 }
217217 }
218218
219219 ol li ,
220220 ul li {
221- margin-bottom : var (--s-prose-spacing-half );
221+ margin-bottom : var (--s-prose-spacing-condensed );
222222
223223 & :last-child {
224224 margin-bottom : 0 ;
228228 li {
229229 > ul ,
230230 > ol {
231- margin-top : var (--s-prose-spacing-half );
231+ margin-top : var (--s-prose-spacing-condensed );
232232 }
233233 }
234234
337337 // Blockquotes inside list
338338 li {
339339 blockquote {
340- margin-top : var (--s-prose-spacing-half );
340+ margin-top : var (--s-prose-spacing-condensed );
341341 }
342342 }
343343
You can’t perform that action at this time.
0 commit comments