Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon-docs: Fix code style inside LI #8708

Merged

Conversation

adrian-potepa
Copy link
Contributor

Issue: #8651

What I did

I add 'code' styles to the list.

export const LI = styled.li<{}>(withReset, ({ theme }) => ({
  fontSize: theme.typography.size.s2,
  color: theme.color.defaultText,
  lineHeight: '24px',
  '& + li': {
    marginTop: '.25em',
  },
  '& ul, & ol': {
    marginTop: '.25em',
    marginBottom: 0,
  },
  '& code': codeCommon({ theme }),
}));

@vercel
Copy link

vercel bot commented Nov 5, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/82b0ymbmq
🌍 Preview: https://monorepo-git-fork-adrian-potepa-8651-code-styles-in-mdx-lists.storybook.now.sh

@shilman shilman added addon: docs bug patch:yes Bugfix & documentation PR that need to be picked to main branch theming labels Nov 5, 2019
@shilman shilman changed the title styles doesn't show up in addon-docs Addon-docs: Fix code style inside LI Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: docs bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch theming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants