Skip to content

Commit ca23d39

Browse files
committed
add bg to inline code
1 parent 4f96075 commit ca23d39

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

apps/storefront/components/MdxContent/MdxContent.module.css

+9
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@
125125
box-shadow: var(--ds-shadow-md);
126126
}
127127

128+
& > p > code {
129+
padding: 0.2em 0.5em;
130+
margin: 1px;
131+
font-size: 0.9em;
132+
white-space: break-spaces;
133+
background-color: var(--ds-color-neutral-surface-tinted);
134+
border-radius: var(--ds-border-radius-md);
135+
}
136+
128137
& > div + p {
129138
margin-top: var(--ds-size-5);
130139
}

0 commit comments

Comments
 (0)