Skip to content

Commit dd16f77

Browse files
committed
refactor: update examples
1 parent 4a2a9b1 commit dd16f77

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

src/views/base/Accordion.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
</CCardHeader>
126126
<CCardBody>
127127
<p class="text-medium-emphasis small">
128-
Add <code>alwaysOpen</code> property to make accordion items stay
128+
Add <code>always-open</code> property to make accordion items stay
129129
open when another item is opened.
130130
</p>
131131
<DocsExample href="components/accordion#always-open">

src/views/base/Cards.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@
593593
>border utilities</a
594594
>
595595
to change just the <code>border-color</code> of a card. Note that
596-
you can set <code>textColor</code> property on the
596+
you can set <code>text-color</code> property on the
597597
<code>&lt;CCard&gt;</code> or a subset of the card&#39;s contents as
598598
shown below.
599599
</p>
@@ -635,7 +635,7 @@
635635
>border utilities</a
636636
>
637637
to change just the <code>border-color</code> of a card. Note that
638-
you can set <code>textColor</code> property on the
638+
you can set <code>text-color</code> property on the
639639
<code>&lt;CCard&gt;</code> or a subset of the card&#39;s contents as
640640
shown below.
641641
</p>

src/views/forms/FormControl.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<code>plain-text</code> boolean property to remove the default form
135135
field styling and preserve the correct margin and padding.
136136
</p>
137-
<DocsExample href="components/accordion">
137+
<DocsExample href="forms/form-control.html#readonly-plain-text">
138138
<CRow class="mb-3">
139139
<CFormLabel for="staticEmail" class="col-sm-2 col-form-label">
140140
Email
@@ -158,7 +158,7 @@
158158
</div>
159159
</CRow>
160160
</DocsExample>
161-
<DocsExample href="components/accordion">
161+
<DocsExample href="forms/form-control.html#readonly-plain-text">
162162
<CForm class="row g-3">
163163
<div class="col-auto">
164164
<CFormLabel for="staticEmail2" class="visually-hidden">

src/views/forms/Select.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</CFormSelect>
6969
</DocsExample>
7070
<p class="text-medium-emphasis small">
71-
As is the <code>htmlSize</code> property:
71+
As is the <code>html-size</code> property:
7272
</p>
7373
<DocsExample href="forms/select.html#sizing">
7474
<CFormSelect

src/views/notifications/Modals.vue

+7-8
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@
103103
</CCardHeader>
104104
<CCardBody>
105105
<p class="text-medium-emphasis small">
106-
If you don’t provide an <code>onDimsiss</code> handler to the Modal
107-
component, your modal will behave as though the backdrop is static,
108-
meaning it will not close when clicking outside it. Click the button
109-
below to try it.
106+
If you set <code>backdrop</code> property to <code>static</code>,
107+
your modal will behave as though the backdrop is static, meaning it
108+
will not close when clicking outside it. Click the button below to
109+
try it.
110110
</p>
111111
<DocsExample href="components/modal.html#static-backdrop">
112112
<CButton
@@ -165,10 +165,9 @@
165165
</CCardHeader>
166166
<CCardBody>
167167
<p class="text-medium-emphasis small">
168-
If you don’t provide an <code>onDimsiss</code> handler to the Modal
169-
component, your modal will behave as though the backdrop is static,
170-
meaning it will not close when clicking outside it. Click the button
171-
below to try it.
168+
When modals become too long for the user's viewport or device, they
169+
scroll independent of the page itself. Try the demo below to see
170+
what we mean.
172171
</p>
173172
<DocsExample href="components/modal.html#scrolling-long-content">
174173
<CButton

0 commit comments

Comments
 (0)