Skip to content

Commit c548789

Browse files
committed
docs: update theme
1 parent 1b4f6d8 commit c548789

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@coreui/chartjs": "^3.1.2",
28-
"@coreui/coreui": "4.3.0-alpha.0",
28+
"@coreui/coreui": "4.3.0-beta.0",
2929
"@coreui/icons": "^3.0.1",
3030
"@coreui/icons-react": "^2.1.0",
3131
"@coreui/react-chartjs": "^2.1.3",

packages/docs/src/components/ScssDocs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ScssDocs: FC = ({ file, capture }: { file: string; capture: string }) => {
2424
}
2525
`)
2626

27-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
27+
// eslint-disable-line @typescript-eslint/no-explicit-any
2828
const _file = data.allFile.edges.find((node: any) => node.node.relativePath === file)
2929
const captureStart = `// scss-docs-start ${capture}`
3030
const captureEnd = `// scss-docs-end ${capture}`

packages/docs/src/styles/_component-examples.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@
351351
position: relative;
352352
padding: .75rem ($cd-gutter-x * .5);
353353
margin-bottom: 1rem;
354+
border: 1px solid var(--cui-border-color);
354355
background-color: var(--cd-pre-bg);
355356

356357
@include media-breakpoint-up(md) {
@@ -415,7 +416,6 @@
415416
}
416417

417418
.docs-example + .highlight {
418-
border: 1px solid var(--cui-border-color);
419419
border-top-width: 0;
420420
@include border-top-radius(0);
421421
}

packages/docs/src/styles/_prism.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pre[class*='language-'] {
7070
hyphens: none;
7171
}
7272

73-
pre[class*='language-']:not(.language-sass):not(.language-text):not(.language-css) {
73+
pre[class*='language-']:not(.language-sass):not(.language-scss):not(.language-text):not(.language-css) {
7474
overflow: scroll;
7575
max-height: 500px;
7676
}

0 commit comments

Comments
 (0)