mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 05:41:49 +08:00
Change SidebarSubheading to div instead of span
This commit is contained in:
parent
e13e33b59a
commit
16e944324f
@ -2,8 +2,7 @@ import React from 'react';
|
|||||||
|
|
||||||
import { styled } from '@storybook/theming';
|
import { styled } from '@storybook/theming';
|
||||||
|
|
||||||
const Heading = styled.span(({ theme }) => ({
|
const Heading = styled.div(({ theme }) => ({
|
||||||
display: 'block',
|
|
||||||
letterSpacing: '0.35em',
|
letterSpacing: '0.35em',
|
||||||
textTransform: 'uppercase',
|
textTransform: 'uppercase',
|
||||||
fontWeight: theme.typography.weight.black,
|
fontWeight: theme.typography.weight.black,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user