diff --git a/core/README.md b/core/README.md index 049f4d9..d01c53e 100644 --- a/core/README.md +++ b/core/README.md @@ -29,7 +29,7 @@ const Demo = () => {
这里是示例展示
Code Example - + {code} @@ -57,7 +57,7 @@ const Demo = () => {
这里是示例展示
Code Example - + {code} @@ -84,7 +84,7 @@ const Demo = () => (
示例内容
Code Example - + {code} @@ -110,7 +110,7 @@ const Demo = () => (
示例内容
Code Example - + {code} @@ -137,7 +137,7 @@ const Demo = () => {
示例内容
按钮}>Code Example - + {code} @@ -170,7 +170,7 @@ const Demo = ()=> {
示例内容
Code Example - + {code} @@ -248,7 +248,7 @@ const Demo = () => ( Code Example - {code} + {code} ); export default Demo; @@ -266,7 +266,7 @@ import CodeLayout from "react-code-preview-layout" Code Example - {code} + {code} ``` diff --git a/core/src/styles.css b/core/src/styles.css index 84802af..bf59efa 100644 --- a/core/src/styles.css +++ b/core/src/styles.css @@ -15,6 +15,7 @@ } .w-rcpl.w-bordered > .w-rcpl-code:not(.w-hidden) { border-top: 1px dashed var(--color-border-muted); + border-radius: 0 0 6px 6px; } .w-rcpl { @@ -35,6 +36,7 @@ overflow: auto; border-top-left-radius: 0px; border-top-right-radius: 0px; + margin-bottom: 0 !important; } .w-rcpl-code > * { padding: 0 !important;