File tree Expand file tree Collapse file tree
sections/rich-text/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const StyledInlineCode = styled(Text)`
4141 color: var(--prism-text);
4242 background-color: var(--prism-bg);
4343 box-shadow: 0 0 0 1px ${ ( { theme } ) => theme . colors . button . border } ;
44- padding: 0 6px;
44+ padding: 2px 6px;
4545 border-radius: 4px;
4646 margin: 0 4px;
4747 font-size: 13px;
Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ export const StyledUL = styled.ul`
4444 margin-bottom: 2rem;
4545 color: ${ ( { theme } ) => theme . colors . text . darkGrey } ;
4646 font-size: ${ ( { theme } ) => theme . fontSizes . text . m } ;
47+
48+ ul, ol {
49+ margin-top: 2px;
50+ margin-bottom: 2px;
51+ }
4752` ;
4853
4954export const StyledOL = styled . ol `
@@ -52,6 +57,11 @@ export const StyledOL = styled.ol`
5257 margin-bottom: 2rem;
5358 color: ${ ( { theme } ) => theme . colors . text . darkGrey } ;
5459 font-size: ${ ( { theme } ) => theme . fontSizes . text . m } ;
60+
61+ ul, ol {
62+ margin-top: 2px;
63+ margin-bottom: 2px;
64+ }
5565}` ;
5666
5767export const StyledImage = styled ( Image ) `
You can’t perform that action at this time.
0 commit comments