Skip to content

Commit 28f8ebb

Browse files
committed
don't use italic on details, they tend to contain too much code to be readable that way
1 parent 86da212 commit 28f8ebb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/site-kit/src/lib/components/Text.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,10 @@
417417
--primary-hsl: var(--sk-theme-1-hsl);
418418
color: var(--sk-text-1);
419419
padding: 0 0 0 4.5rem;
420-
font-style: italic;
420+
421+
&:not(:has(details)) {
422+
font-style: italic;
423+
}
421424
422425
&.note,
423426
&:has(details.legacy) {

0 commit comments

Comments
 (0)