Skip to content

Commit 771424c

Browse files
authored
chore: prettify (#3034)
1 parent eea4c94 commit 771424c

File tree

8 files changed

+51
-42
lines changed

8 files changed

+51
-42
lines changed

src/components/embed/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Set the type of embed you would like via the `type` prop.
2727

2828
## Aspect ratios
2929

30-
Aspect ratios can be set via the `aspect` prop. Supported aspect ratios are: `21by9` (21:9),
31-
`16by9` (16:9), `4by3` (4:3) and `1by1` (1:1). The default aspect is `16by9`. Aspect ratios are
32-
defined in Bootstrap's SCSS and translate to the classname `embed-responsive-{aspect}` (i.e.
30+
Aspect ratios can be set via the `aspect` prop. Supported aspect ratios are: `21by9` (21:9), `16by9`
31+
(16:9), `4by3` (4:3) and `1by1` (1:1). The default aspect is `16by9`. Aspect ratios are defined in
32+
Bootstrap's SCSS and translate to the classname `embed-responsive-{aspect}` (i.e.
3333
`embed-responsive-16by9`, `embed-responsive-4by3`, excetera).
3434

3535
## Wrapper element

src/components/form/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Form
22

3-
> BootstrapVue form component and helper components that optionally support inline form styles
4-
> and validation states. Pair them up with other BootstrapVue form cotrol components for an easy
3+
> BootstrapVue form component and helper components that optionally support inline form styles and
4+
> validation states. Pair them up with other BootstrapVue form cotrol components for an easy
55
> customized, and responsive, layout with a consistent look and feel.
66
77
## Introduction to forms and controls
88

9-
Be sure to use an appropriate `type` on all inputs (e.g., `email` for email address or `number`
10-
for numerical information) to take advantage of newer input controls like email verification,
11-
number selection, and more.
9+
Be sure to use an appropriate `type` on all inputs (e.g., `email` for email address or `number` for
10+
numerical information) to take advantage of newer input controls like email verification, number
11+
selection, and more.
1212

13-
Here’s a quick example to demonstrate BootstrapVue’s form styles. Keep reading for documentation
14-
on supported components, form layout, and more.
13+
Here’s a quick example to demonstrate BootstrapVue’s form styles. Keep reading for documentation on
14+
supported components, form layout, and more.
1515

1616
```html
1717
<template>

src/components/image/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ images is available via the `<b-img-lazy>` complimentary component.
1010

1111
## Image src resolving
1212

13-
The `src` prop (and `blank-src` prop of `<b-img-lazy>`), out of the box, works only with
14-
absolute or fully-qualified-domain-name URLs. If you are using project assets as image sources,
15-
please refer to [Component img src resolving](/docs/reference/images) for configuring `vue-loader`
16-
to understand custom component props that specify image sources.
13+
The `src` prop (and `blank-src` prop of `<b-img-lazy>`), out of the box, works only with absolute or
14+
fully-qualified-domain-name URLs. If you are using project assets as image sources, please refer to
15+
[Component img src resolving](/docs/reference/images) for configuring `vue-loader` to understand
16+
custom component props that specify image sources.
1717

1818
## Syling images
1919

20-
Several props are available for styling the rendered image element. The following sub-sections
21-
cover the various options.
20+
Several props are available for styling the rendered image element. The following sub-sections cover
21+
the various options.
2222

2323
### Responsive images
2424

src/components/modal/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ export default {
180180

181181
To prevent `<b-modal>` from closing (for example when validation fails). you can call the
182182
`.preventDefault()` method of the event object passed to your `ok` (**OK** button), `cancel`
183-
(**Cancel** button) and `hide` event handlers. Note that `.preventDefault()`, when used, **must**
184-
be called synchronously, as async is not supported.
183+
(**Cancel** button) and `hide` event handlers. Note that `.preventDefault()`, when used, **must** be
184+
called synchronously, as async is not supported.
185185

186186
```html
187187
<template>
@@ -255,8 +255,8 @@ emitted.
255255

256256
The `ok`, `cancel`, and `hide` event object contains several properties and methods:
257257

258-
| Property or Method | Type | Description |
259-
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
258+
| Property or Method | Type | Description |
259+
| ------------------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
260260
| `preventDefault()` | Method | When called prevents the modal from closing |
261261
| `trigger` | Property | Will be one of: `ok` (Default **OK** Clicked), `cancel` (Default **Cancel** clicked), `esc` (if the <kbd>ESC</kbd> key was pressed), `backdrop` (if the backdrop was clicked), `headerclose` (if the header X button was clicked), the argument provided to the `hide()` method, or `undefined` otherwise. |
262262
| `target` | Property | A reference to the modal element |

src/components/table/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ Record data may also have additional special reserved name keys for colorizing r
6868
cells (variants), and for triggering additional row detail. The supported optional item record
6969
modifier properties (make sure your field keys do not conflict with these names):
7070

71-
| Property | Type | Description |
72-
| --------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
71+
| Property | Type | Description |
72+
| --------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7373
| `_cellVariants` | Object | Bootstrap contextual state applied to individual cells. Keyed by field (See the [Color Variants](/docs/reference/color-variants) for supported values). These variants map to classes `table-${variant}` or `bg-${variant}` (when the `dark` prop is set). |
7474
| `_rowVariant` | String | Bootstrap contextual state applied to the entire row (See the [Color Variants](/docs/reference/color-variants) for supported values). These variants map to classes `table-${variant}` or `bg-${variant}` (when the `dark` prop is set) |
75-
| `_showDetails` | Boolean | Used to trigger the display of the `row-details` scoped slot. See section [Row details support](#row-details-support) below for additional information |
75+
| `_showDetails` | Boolean | Used to trigger the display of the `row-details` scoped slot. See section [Row details support](#row-details-support) below for additional information |
7676

7777
**Example: Using variants for table cells**
7878

src/directives/scrollspy/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ as well.
101101

102102
### Example using nested navs
103103

104-
Scrollspy also works with nested `<b-nav>`. If a nested `<b-nav-item>` is active, its parent()s
105-
will also be active. Scroll the area next to the navbar and watch the active class change.
104+
Scrollspy also works with nested `<b-nav>`. If a nested `<b-nav-item>` is active, its parent()s will
105+
also be active. Scroll the area next to the navbar and watch the active class change.
106106

107107
```html
108108
<template>
@@ -243,8 +243,8 @@ of the following methods to generate the apropriate `href` on the rendered link:
243243
<b-nav-item :to="{ hash: '#id-of-element' }">link text</b-nav-item>
244244
```
245245

246-
Scrollspy works with both `history` and `hash` routing modes, as long as the generated URL ends
247-
with `#id-of-element`.
246+
Scrollspy works with both `history` and `hash` routing modes, as long as the generated URL ends with
247+
`#id-of-element`.
248248

249249
## Directive syntax and usage
250250

0 commit comments

Comments
 (0)