From 925baa714bfb55e2b23baf26760f90932a71765d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 19 Jul 2022 13:10:08 +0200 Subject: [PATCH] Fix typos after #36762 --- 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 0eadc50b58d2..59a2374617f9 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 fee28995bcbe..ec9aa466c522 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 4eaf5d6f8a93..21e36886e1fc 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 >}}). - Join [the official Slack room]({{< param slack >}}). diff --git a/site/data/examples.yml b/site/data/examples.yml index 38644ef4a0d4..97d4bfb93f01 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."