8000 docs: update documentation · JM066/coreui-react@e2a648e · GitHub
[go: up one dir, main page]

Skip to content

Commit e2a648e

Browse files
committed
docs: update documentation
1 parent 6c685f8 commit e2a648e

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/components/modal/CModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface CModalProps extends HTMLAttributes<HTMLDivElement> {
2929
*/
3030
fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
3131
/**
32-
* Does the modal dialog itself scroll, or does the whole dialog scroll within the window. [docs]
32+
* TODO: Does the modal dialog itself scroll, or does the whole dialog scroll within the window. [docs]
3333
*/
3434
onDismiss?: () => void
3535
/**
@@ -45,7 +45,7 @@ export interface CModalProps extends HTMLAttributes<HTMLDivElement> {
4545
*/
4646
transition?: boolean
4747
/**
48-
* Toggle the visibility of alert component. [docs]
48+
* Toggle the visibility of modal component. [docs]
4949
*/
5050
visible?: boolean
5151
}

src/gatsby-theme-docz/dosc.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
background-color: rgba(255, 0, 0, .1);
2525
}
2626

27+
.docs-example-offcanvas .offcanvas {
28+
position: static;
29+
display: block;
30+
height: 200px;
31+
visibility: visible;
32+
transform: translate(0);
33+
}
34+
2735
.docs-highlight {
2836
// background-color: rgba($bd-purple, .15);
2937
// border: 1px solid rgba($bd-purple, .15);
@@ -35,4 +43,4 @@
3543
transform: translateZ(0);
3644
will-change: auto;
3745
@include transition(padding .15s);
38-
}
46+
}

0 commit comments

Comments
 (0)
0