Skip to content
Permalink
Browse files

fix: add height to styled code to prevent overflow (#231)

  • Loading branch information
richbachman committed Dec 13, 2019
1 parent 74877c4 commit f27094574ec09776ed896584ef6fb24d1c8233d5
Showing with 1 addition and 0 deletions.
  1. +1 −0 packages/paste-website/src/components/codeblock/index.tsx
@@ -6,6 +6,7 @@ import {CodeblockTheme} from './theme';

const StyledCode = styled.code<{}>(props => ({
display: 'block',
height: '100%',
fontSize: themeGet('fontSizes.fontSize30')(props),
overflowX: 'auto',
padding: `${themeGet('space.space40')(props)} ${themeGet('space.space60')(props)}`,

1 comment on commit f270945

@now

This comment has been minimized.

Please sign in to comment.
You can’t perform that action at this time.