File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,19 @@ export default defineUserConfig<DefaultThemeOptions>({
4444 } ,
4545 } ,
4646 ] ,
47+ [
48+ '@vuepress/container' ,
49+ {
50+ type : 'demo-rounded' ,
51+ render : function ( tokens , idx ) {
52+ if ( tokens [ idx ] . nesting === 1 ) {
53+ return '<div class="docs-example border rounded p-4">\n'
54+ } else {
55+ return '</div>\n'
56+ }
57+ } ,
58+ } ,
59+ ] ,
4760 [
4861 '@vuepress/container' ,
4962 {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Due to the widespread use of `<CTable>` elements across third-party widgets like
1111
1212Using the most basic table CoreUI, here's how ` <CTable> ` -based tables look in CoreUI.
1313
14- ::: demo
14+ ::: demo-rounded
1515<CTable :columns =" columns " :items =" items " />
1616:::
1717
@@ -694,7 +694,7 @@ These hoverable rows can also be combined with the striped variant:
694694
695695Highlight a table row or cell by adding a ` active ` property.
696696
697- ::: demo
697+ ::: demo-rounded
698698<CTable :columns =" columnsActiveTableExample " :items =" itemsActiveTableExample " />
699699:::
700700
You can’t perform that action at this time.
0 commit comments