ant-design/.dumi/theme/common/styles/Common.tsx
MadCcc d04756c983
docs: add heading link (#39388)
* docs: add heading link

* refactor: global styles
2022-12-08 12:14:18 +08:00

61 lines
987 B
TypeScript

import { css, Global } from '@emotion/react';
import React from 'react';
export default () => (
<Global
styles={css`
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
margin: 0;
padding: 0;
}
ul,
ol {
list-style: none;
}
img {
vertical-align: middle;
border-style: none;
}
`}
/>
);