From 8f2b9e7e37b53869a65f3017222ea3fb47da7b0f Mon Sep 17 00:00:00 2001 From: Romaric Pascal Date: Fri, 9 Sep 2022 12:20:33 +0100 Subject: [PATCH] Update utility example to avoid cspell error --- site/content/docs/5.2/utilities/api.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/site/content/docs/5.2/utilities/api.md b/site/content/docs/5.2/utilities/api.md index ebf852fd29..d1e074b89b 100644 --- a/site/content/docs/5.2/utilities/api.md +++ b/site/content/docs/5.2/utilities/api.md @@ -379,11 +379,12 @@ If your code declares a `$utilities` map before importing `bootstrap/scss/utilit ```scss $utilities: ( - // Adds a new font-variant utility - "font-variant": ( - class: fv, - property: font-variant, - values: tabular-nums small-caps, + // Adds a new cursor utility + "cursor": ( + property: cursor, + class: cursor, + responsive: true, + values: auto pointer grab, ), // Redefines the overflow utility "overflow": ( @@ -416,6 +417,7 @@ After importing `bootstrap/scss/utilities`, you can use mixins to: @import "bootstrap/scss/mixins"; @import "bootstrap/scss/utilities"; +// Adds a new cursor utility @include utilities-add(cursor, ( property: cursor, class: cursor, @@ -423,7 +425,7 @@ After importing `bootstrap/scss/utilities`, you can use mixins to: values: auto pointer grab, )); -// Remove user-select and shadow +// Removes user-select and shadow @include utilities-remove(user-select, shadow); @import "bootstrap/scss/utilities/api";