mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Allow for theming of the notes addon panel
This commit is contained in:
parent
8998c58d3e
commit
5655105435
@ -10,12 +10,13 @@ import Markdown from 'markdown-to-jsx';
|
||||
|
||||
import { PARAM_KEY, API, Parameters } from './shared';
|
||||
|
||||
const Panel = styled.div({
|
||||
const Panel = styled.div(({theme}) => {
|
||||
padding: '3rem 40px',
|
||||
boxSizing: 'border-box',
|
||||
width: '100%',
|
||||
maxWidth: 980,
|
||||
margin: '0 auto',
|
||||
...theme.addonNotesTheme
|
||||
});
|
||||
|
||||
interface Props {
|
||||
|
Loading…
x
Reference in New Issue
Block a user