From 17aa6732ab83653501e70dc88afcccead1dc0892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Fri, 29 Jul 2022 21:49:01 +0200 Subject: [PATCH] Fix typos after #36762 (#36771) --- scss/mixins/_utilities.scss | 2 +- site/content/docs/5.2/components/carousel.md | 2 +- site/content/docs/5.2/getting-started/introduction.md | 2 +- site/data/examples.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scss/mixins/_utilities.scss b/scss/mixins/_utilities.scss index 0eadc50b58..59a2374617 100644 --- a/scss/mixins/_utilities.scss +++ b/scss/mixins/_utilities.scss @@ -28,7 +28,7 @@ $infix: if($property-class == "" and str-slice($infix, 1, 1) == "-", str-slice($infix, 2), $infix); - // Don't prefix if value key is null (eg. with shadow class) + // Don't prefix if value key is null (e.g. with shadow class) $property-class-modifier: if($key, if($property-class == "" and $infix == "", "", "-") + $key, ""); @if map-get($utility, rfs) { diff --git a/site/content/docs/5.2/components/carousel.md b/site/content/docs/5.2/components/carousel.md index fee28995bc..ec9aa466c5 100644 --- a/site/content/docs/5.2/components/carousel.md +++ b/site/content/docs/5.2/components/carousel.md @@ -281,7 +281,7 @@ Add `.carousel-dark` to the `.carousel` for darker controls, indicators, and cap ## Custom transition -The transition duration of `.carousel-item` can be changed with the `$carousel-transition-duration` Sass variable before compiling or custom styles if you're using the compiled CSS. If multiple transitions are applied, make sure the transform transition is defined first (eg. `transition: transform 2s ease, opacity .5s ease-out`). +The transition duration of `.carousel-item` can be changed with the `$carousel-transition-duration` Sass variable before compiling or custom styles if you're using the compiled CSS. If multiple transitions are applied, make sure the transform transition is defined first (e.g. `transition: transform 2s ease, opacity .5s ease-out`). ## Sass diff --git a/site/content/docs/5.2/getting-started/introduction.md b/site/content/docs/5.2/getting-started/introduction.md index 0167427fc3..579e04b2f4 100644 --- a/site/content/docs/5.2/getting-started/introduction.md +++ b/site/content/docs/5.2/getting-started/introduction.md @@ -151,7 +151,7 @@ For improved cross-browser rendering, we use [Reboot]({{< docsref "/content/rebo ## Community -Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources. +Stay up-to-date on the development of Bootstrap and reach out to the community with these helpful resources. - Read and subscribe to [The Official Bootstrap Blog]({{< param blog >}}). - Ask and explore [our GitHub Discussions](https://github.com/twbs/bootstrap/discussions). diff --git a/site/data/examples.yml b/site/data/examples.yml index 38644ef4a0..97d4bfb93f 100644 --- a/site/data/examples.yml +++ b/site/data/examples.yml @@ -19,7 +19,7 @@ description: "Transform modals to serve any purpose, from feature tours to dialogs." - category: Custom Components - description: "Brand new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework." + description: "Brand-new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework." examples: - name: Album description: "Simple one-page template for photo galleries, portfolios, and more."