mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
Revert "site(theme): demo block supports no inner margin configuration"
This reverts commit ee2ff25796
.
This commit is contained in:
parent
b1db3089a0
commit
5eac19e7f2
@ -355,7 +355,7 @@ createRoot(document.getElementById('container')).render(<Demo />);
|
||||
|
||||
let codeBox = (
|
||||
<section className={codeBoxClass} id={meta.id}>
|
||||
<section className="code-box-demo" data-compact={meta.compact}>
|
||||
<section className="code-box-demo">
|
||||
<ErrorBoundary>
|
||||
<React.StrictMode>{this.liveDemo}</React.StrictMode>
|
||||
</ErrorBoundary>
|
||||
|
@ -40,10 +40,6 @@ export default () => {
|
||||
&,
|
||||
.code-box-demo {
|
||||
background-color: ${token.colorBgContainer};
|
||||
|
||||
&[data-compact] {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown {
|
||||
|
Loading…
Reference in New Issue
Block a user