mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 04:01:48 +08:00
fix test
This commit is contained in:
parent
00e42a307d
commit
f7200e1d4a
@ -36,9 +36,9 @@ describe('mdx3', () => {
|
|||||||
function _createMdxContent(props) {
|
function _createMdxContent(props) {
|
||||||
return _jsx("style", {
|
return _jsx("style", {
|
||||||
children: \`
|
children: \`
|
||||||
h1 {
|
h1 {
|
||||||
color: blue;
|
color: blue;
|
||||||
}
|
}
|
||||||
\`
|
\`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -645,23 +645,23 @@ describe('docs-mdx-compiler-plugin', () => {
|
|||||||
title: "Example/Introduction"
|
title: "Example/Introduction"
|
||||||
}), "\\n", _jsx("style", {
|
}), "\\n", _jsx("style", {
|
||||||
children: \`
|
children: \`
|
||||||
.subheading {
|
.subheading {
|
||||||
--mediumdark: '#999999';
|
--mediumdark: '#999999';
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #999;
|
color: #999;
|
||||||
letter-spacing: 6px;
|
letter-spacing: 6px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
.link-list {
|
.link-list {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: 1fr 1fr;
|
grid-template-rows: 1fr 1fr;
|
||||||
row-gap: 10px;
|
row-gap: 10px;
|
||||||
}
|
}
|
||||||
\`
|
\`
|
||||||
})]
|
})]
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user