From 9d2c17cdab121064c229d6f123aae042d7b37fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20M=C3=BCller?= Date: Mon, 25 Mar 2019 23:29:38 +0100 Subject: [PATCH] chore: prettify --- docs/assets/scss/styles.scss | 4 +- src/_utilities.scss | 6 ++- src/components/carousel/README.md | 6 +-- src/components/form-file/README.md | 8 ++-- src/components/form/README.md | 10 ++-- src/components/form/package.json | 4 +- src/components/pagination-nav/README.md | 63 ++++++++++++------------- src/components/pagination/README.md | 18 ++++--- src/components/table/README.md | 10 ++-- 9 files changed, 65 insertions(+), 64 deletions(-) diff --git a/docs/assets/scss/styles.scss b/docs/assets/scss/styles.scss index bd7c9f77282..555410dbc19 100644 --- a/docs/assets/scss/styles.scss +++ b/docs/assets/scss/styles.scss @@ -23,8 +23,8 @@ } .bd-toc-item.active > .bd-toc-link { - color: #563d7c; - font-weight: bold; + color: #563d7c; + font-weight: bold; } .bd-toc-link, diff --git a/src/_utilities.scss b/src/_utilities.scss index 361aa3f990c..8185c3d8c11 100644 --- a/src/_utilities.scss +++ b/src/_utilities.scss @@ -4,11 +4,13 @@ $bv-utility-classes-defined: false !default; @if $bv-utility-classes-defined == false { // This test will only include these style definitions once - + // Create .bv-d--down-none helper classes @each $breakpoint in map-keys($grid-breakpoints) { @include media-breakpoint-down($breakpoint) { - .bv-d-#{$breakpoint}-down-none { display: none !important; } + .bv-d-#{$breakpoint}-down-none { + display: none !important; + } } } } diff --git a/src/components/carousel/README.md b/src/components/carousel/README.md index 5185a6237d3..2cced7f963c 100644 --- a/src/components/carousel/README.md +++ b/src/components/carousel/README.md @@ -122,9 +122,9 @@ carousel, set the `interval` back to the desired number of ms. When the carousel is paused, the user can still switch slides via the controls (if enabled) or touch swipe (on touch enabled devices, if not disabled). -When the users mouse hovers the carousel it will automatically pause, and will automatically -restart when the mouse leaves the carousel. To disable this feature, set the `no-hover-pause` -prop on `. +When the users mouse hovers the carousel it will automatically pause, and will automatically restart +when the mouse leaves the carousel. To disable this feature, set the `no-hover-pause` prop on +`. ## Controls and Indicators diff --git a/src/components/form-file/README.md b/src/components/form-file/README.md index 467386ba54c..f529ea6870c 100644 --- a/src/components/form-file/README.md +++ b/src/components/form-file/README.md @@ -124,7 +124,7 @@ prop. Note, only plain text is supported. HTML and components are not supported. By default, the custom styled file input lists the file names separated by commas. You can customize how the file names are shown either via a custom formatter function or the `file-name` scoped slot. -### File name formatter functon +### File name formatter functon Set the prop `file-name-formatter` to a function that accepts a single argument which is an array of [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) objects. The function should return @@ -156,7 +156,7 @@ array. ``` -### File name formatting via scoped slot +### File name formatting via scoped slot Alternatively, you can use the scoped slot `file-name` to render the file names. The scoped slot will receive the following properties: @@ -183,8 +183,8 @@ Both properties are always arrays, regarless of the setting of the `multiple` pr ``` -When using the `file-name` slot, the `file-name-formatter` prop is ignored. Also, the slot will -not be rendered when there are no file(s) selected. +When using the `file-name` slot, the `file-name-formatter` prop is ignored. Also, the slot will not +be rendered when there are no file(s) selected. ## Non custom file input diff --git a/src/components/form/README.md b/src/components/form/README.md index 1ef67af68c2..95c28b60cee 100644 --- a/src/components/form/README.md +++ b/src/components/form/README.md @@ -266,12 +266,12 @@ or the `force-show` prop to display the feedback. ### Datalist helper For broswers that support -[``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist) elements, -the `` helper component will allow you to quickly create a `` and -child `