From 5a97018a9ae42ed645cf34ef78128abb440905af Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 27 Jul 2023 18:12:54 +0300 Subject: [PATCH 1/3] Update gutters.md (#38968) --- site/content/docs/5.3/layout/gutters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.3/layout/gutters.md b/site/content/docs/5.3/layout/gutters.md index a5b0772c8a..0cb35a95c0 100644 --- a/site/content/docs/5.3/layout/gutters.md +++ b/site/content/docs/5.3/layout/gutters.md @@ -139,7 +139,7 @@ The gutters between columns in our predefined grid classes can be removed with ` **Need an edge-to-edge design?** Drop the parent `.container` or `.container-fluid` and add `.mx-0` to the `.row` to prevent overflow. -In practice, here's how it looks. Note you can continue to use this with all other predefined grid classes (including column widths, responsive tiers, reorders, and more). +In practice, here's how it looks. Note that you can continue to use this with all other predefined grid classes (including column widths, responsive tiers, reorders, and more). {{< example class="bd-example-row" >}}
From c81a694ff3363c37b5ac8f8dbcb3f6ce90d350dd Mon Sep 17 00:00:00 2001 From: Craig Wayne Date: Thu, 27 Jul 2023 21:46:12 +0100 Subject: [PATCH 2/3] Use CSS box-shadow variables in shadow utility classes (#38816) --- scss/_utilities.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scss/_utilities.scss b/scss/_utilities.scss index e6069c909a..696f906ec9 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -77,9 +77,9 @@ $utilities: map-merge( property: box-shadow, class: shadow, values: ( - null: $box-shadow, - sm: $box-shadow-sm, - lg: $box-shadow-lg, + null: var(--#{$prefix}box-shadow), + sm: var(--#{$prefix}box-shadow-sm), + lg: var(--#{$prefix}box-shadow-lg), none: none, ) ), From 92aedd15fcf1ec08eed170c5b60c49930f92e911 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Sat, 29 Jul 2023 20:04:50 +0900 Subject: [PATCH 3/3] Docs: Fix popover template role error (#38978) I'm quite sure this should be `role="tooltip"` and not `role="popover"`. There isn't a popover role but there is a tooltip one.(https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role).. and Bootstrap 5 itself uses role="tooltip" for its popovers by default. --- site/content/docs/5.3/components/popovers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.3/components/popovers.md b/site/content/docs/5.3/components/popovers.md index 0a2138db99..685d2c3c64 100644 --- a/site/content/docs/5.3/components/popovers.md +++ b/site/content/docs/5.3/components/popovers.md @@ -198,7 +198,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt | `sanitize` | boolean | `true` | Enable or disable the sanitization. If activated `'template'`, `'content'` and `'title'` options will be sanitized. | | `sanitizeFn` | null, function | `null` | Here you can supply your own sanitize function. This can be useful if you prefer to use a dedicated library to perform sanitization. | | `selector` | string, false | `false` | If a selector is provided, popover objects will be delegated to the specified targets. In practice, this is used to also apply popovers to dynamically added DOM elements (`jQuery.on` support). See [this issue]({{< param repo >}}/issues/4215) and [an informative example](https://codepen.io/Johann-S/pen/djJYPb). **Note**: `title` attribute must not be used as a selector. | -| `template` | string | `'
'` | Base HTML to use when creating the popover. The popover's `title` will be injected into the `.popover-inner`. `.popover-arrow` will become the popover's arrow. The outermost wrapper element should have the `.popover` class and `role="popover"`. | +| `template` | string | `''` | Base HTML to use when creating the popover. The popover's `title` will be injected into the `.popover-inner`. `.popover-arrow` will become the popover's arrow. The outermost wrapper element should have the `.popover` class and `role="tooltip"`. | | `title` | string, element, function | `''` | The popover title. If a function is given, it will be called with its `this` reference set to the element that the popover is attached to. | | `trigger` | string | `'hover focus'` | How popover is triggered: click, hover, focus, manual. You may pass multiple triggers; separate them with a space. `'manual'` indicates that the popover will be triggered programmatically via the `.popover('show')`, `.popover('hide')` and `.popover('toggle')` methods; this value cannot be combined with any other trigger. `'hover'` on its own will result in popovers that cannot be triggered via the keyboard, and should only be used if alternative methods for conveying the same information for keyboard users is present. | {{< /bs-table >}}