From d7dec124ebd1d67e66cb195646cbd42980145158 Mon Sep 17 00:00:00 2001 From: Jesse Mandel Date: Mon, 11 Oct 2021 09:31:53 -0700 Subject: Update nuget docs to specify only .NET Framework projects are supported. (#35124) Co-authored-by: XhmikosR --- site/content/docs/5.1/getting-started/download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/getting-started/download.md b/site/content/docs/5.1/getting-started/download.md index 67bc295a9..8a4c8f215 100644 --- a/site/content/docs/5.1/getting-started/download.md +++ b/site/content/docs/5.1/getting-started/download.md @@ -108,7 +108,7 @@ composer require twbs/bootstrap:{{< param current_version >}} ### NuGet -If you develop in .NET, you can also install and manage Bootstrap's [CSS](https://www.nuget.org/packages/bootstrap/) or [Sass](https://www.nuget.org/packages/bootstrap.sass/) and JavaScript using [NuGet](https://www.nuget.org/): +If you develop in .NET Framework, you can also install and manage Bootstrap's [CSS](https://www.nuget.org/packages/bootstrap/) or [Sass](https://www.nuget.org/packages/bootstrap.sass/) and JavaScript using [NuGet](https://www.nuget.org/). Newer projects should use [libman](https://docs.microsoft.com/en-us/aspnet/core/client-side/libman/) or another method as NuGet is designed for compiled code, not frontend assets. ```powershell Install-Package bootstrap -- cgit v1.2.3 From a0fd92ed2b9c926a724e185885119b6e45cee826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Thu, 21 Oct 2021 15:33:29 +0200 Subject: Fix typo in RTL Hello World! sentence (#35236) * docs(RTL): fix typo in Hello World! sentence * chore(docs): Cspell arabic words update --- site/content/docs/5.1/examples/cheatsheet-rtl/index.html | 2 +- site/content/docs/5.1/getting-started/rtl.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/examples/cheatsheet-rtl/index.html b/site/content/docs/5.1/examples/cheatsheet-rtl/index.html index 04afcbaf4..0956f6ee4 100644 --- a/site/content/docs/5.1/examples/cheatsheet-rtl/index.html +++ b/site/content/docs/5.1/examples/cheatsheet-rtl/index.html @@ -1497,7 +1497,7 @@ direction: rtl
- مرحبا بالعالم! هذه رسالة إشعار. + مرحبًا بالعالم! هذه رسالة إشعار.
{{< /example >}} diff --git a/site/content/docs/5.1/getting-started/rtl.md b/site/content/docs/5.1/getting-started/rtl.md index 549104c6f..b1a0534cf 100644 --- a/site/content/docs/5.1/getting-started/rtl.md +++ b/site/content/docs/5.1/getting-started/rtl.md @@ -46,10 +46,10 @@ You can see the above requirements reflected in this modified RTL starter templa }}" integrity="{{< param "cdn.css_rtl_hash" >}}" crossorigin="anonymous"> - مرحبا بالعالم! + مرحبًا بالعالم! -

مرحبا بالعالم!

+

مرحبًا بالعالم!

-- cgit v1.2.3 From dc06b9966e21faa3f1d2f9ce14cb12a0870e8c6c Mon Sep 17 00:00:00 2001 From: Oxydent <39617908+Oxydent@users.noreply.github.com> Date: Tue, 26 Oct 2021 13:37:45 +0200 Subject: fix(offcanvas): Adding titles class where missing (#35264) Co-authored-by: louismaximepiton --- site/content/docs/5.1/components/offcanvas.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/components/offcanvas.md b/site/content/docs/5.1/components/offcanvas.md index a5bf9426f..b1dd9c601 100644 --- a/site/content/docs/5.1/components/offcanvas.md +++ b/site/content/docs/5.1/components/offcanvas.md @@ -95,7 +95,7 @@ Try the top, right, and bottom examples out below.
-
Offcanvas top
+
Offcanvas top
@@ -109,7 +109,7 @@ Try the top, right, and bottom examples out below.
-
Offcanvas right
+
Offcanvas right
-- cgit v1.2.3 From 2e87f9aef0dca68967199e52660b645b75dd169d Mon Sep 17 00:00:00 2001 From: Barabas <31799121+Barabazs@users.noreply.github.com> Date: Thu, 28 Oct 2021 13:22:32 +0200 Subject: images.md: remove zero-width space (#35234) Co-authored-by: XhmikosR --- site/content/docs/5.1/content/images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/content/images.md b/site/content/docs/5.1/content/images.md index 9d13ef4fb..b55e7a2b8 100644 --- a/site/content/docs/5.1/content/images.md +++ b/site/content/docs/5.1/content/images.md @@ -48,7 +48,7 @@ Align images with the [helper float classes]({{< docsref "/utilities/float" >}}) If you are using the `` element to specify multiple `` elements for a specific ``, make sure to add the `.img-*` classes to the `` and not to the `` tag. ```html -​ + ... -- cgit v1.2.3 From 8ed121829494fd469f546f499007115e33424c22 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 1 Nov 2021 15:29:31 +0900 Subject: update grid example docs (#35308) --- site/content/docs/5.1/examples/grid/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/examples/grid/index.html b/site/content/docs/5.1/examples/grid/index.html index f26829b4f..fae182a1c 100644 --- a/site/content/docs/5.1/examples/grid/index.html +++ b/site/content/docs/5.1/examples/grid/index.html @@ -110,8 +110,8 @@ include_js: false

Mixed: mobile and desktop

-

The Bootstrap v4 grid system has five tiers of classes: xs (extra small, this class infix is not used), sm (small), md (medium), lg (large), and xl (extra large). You can use nearly any combination of these classes to create more dynamic and flexible layouts.

-

Each tier of classes scales up, meaning if you plan on setting the same widths for md, lg and xl, you only need to specify md.

+

The Bootstrap v5 grid system has six tiers of classes: xs (extra small, this class infix is not used), sm (small), md (medium), lg (large), xl (x-large), and xxl (xx-large). You can use nearly any combination of these classes to create more dynamic and flexible layouts.

+

Each tier of classes scales up, meaning if you plan on setting the same widths for md, lg, xl and xxl, you only need to specify md.

.col-md-8
.col-6 .col-md-4
-- cgit v1.2.3 From 328a29162d4bccceb656071093f7bd887f8f788d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Mon, 1 Nov 2021 07:33:39 +0100 Subject: Add missing `role="search"` and `type="search"` in navbar doc and examples (#35223) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add missing `role="search"` and `type="search"` in navbar doc and examples * Update site/content/docs/5.1/components/navbar.md * Remove warning callout about ensuring correct search role in navbar doc Co-authored-by: Gaël Poupard Co-authored-by: XhmikosR --- site/content/docs/5.1/components/navbar.md | 22 ++++++------ .../docs/5.1/examples/carousel-rtl/index.html | 2 +- site/content/docs/5.1/examples/carousel/index.html | 2 +- .../docs/5.1/examples/cheatsheet-rtl/index.html | 4 +-- .../docs/5.1/examples/cheatsheet/index.html | 4 +-- site/content/docs/5.1/examples/headers/index.html | 10 +++--- .../docs/5.1/examples/navbar-fixed/index.html | 2 +- .../docs/5.1/examples/navbar-static/index.html | 2 +- site/content/docs/5.1/examples/navbars/index.html | 40 +++++++++++----------- .../docs/5.1/examples/offcanvas-navbar/index.html | 2 +- .../5.1/examples/sticky-footer-navbar/index.html | 2 +- 11 files changed, 46 insertions(+), 46 deletions(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/components/navbar.md b/site/content/docs/5.1/components/navbar.md index f6dbb8e61..f5ea5d052 100644 --- a/site/content/docs/5.1/components/navbar.md +++ b/site/content/docs/5.1/components/navbar.md @@ -65,7 +65,7 @@ Here's an example of all the sub-components included in a responsive light-theme Disabled -
+
@@ -228,7 +228,7 @@ Place various form controls and components within a navbar: {{< example >}}
@@ -90,8 +90,8 @@ extra_css: -
- + +
@@ -124,8 +124,8 @@ extra_css: -
- + +
@@ -158,8 +158,8 @@ extra_css: -
- + +
@@ -192,8 +192,8 @@ extra_css: -
- + +
@@ -226,8 +226,8 @@ extra_css: -
- + +
@@ -260,8 +260,8 @@ extra_css: -
- + +
@@ -294,8 +294,8 @@ extra_css: -
- + +
@@ -363,8 +363,8 @@ extra_css: -
- + +
diff --git a/site/content/docs/5.1/examples/offcanvas-navbar/index.html b/site/content/docs/5.1/examples/offcanvas-navbar/index.html index 5af7e2ea2..258e445e6 100644 --- a/site/content/docs/5.1/examples/offcanvas-navbar/index.html +++ b/site/content/docs/5.1/examples/offcanvas-navbar/index.html @@ -39,7 +39,7 @@ aliases: "/docs/5.1/examples/offcanvas/" -
+
diff --git a/site/content/docs/5.1/examples/sticky-footer-navbar/index.html b/site/content/docs/5.1/examples/sticky-footer-navbar/index.html index cd72aa778..1f807a6dc 100644 --- a/site/content/docs/5.1/examples/sticky-footer-navbar/index.html +++ b/site/content/docs/5.1/examples/sticky-footer-navbar/index.html @@ -27,7 +27,7 @@ body_class: "d-flex flex-column h-100" Disabled -
+
-- cgit v1.2.3 From 889286cef1ea4f7a647c90870a13c95de9827fc2 Mon Sep 17 00:00:00 2001 From: kyletsang <6854874+kyletsang@users.noreply.github.com> Date: Sat, 9 Oct 2021 22:05:50 -0700 Subject: Add top placement info to offcanvas docs --- site/content/docs/5.1/components/offcanvas.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'site/content') diff --git a/site/content/docs/5.1/components/offcanvas.md b/site/content/docs/5.1/components/offcanvas.md index b1dd9c601..fd18fe5c9 100644 --- a/site/content/docs/5.1/components/offcanvas.md +++ b/site/content/docs/5.1/components/offcanvas.md @@ -8,7 +8,7 @@ toc: true ## How it works -Offcanvas is a sidebar component that can be toggled via JavaScript to appear from the left, right, or bottom edge of the viewport. Buttons or anchors are used as triggers that are attached to specific elements you toggle, and `data` attributes are used to invoke our JavaScript. +Offcanvas is a sidebar component that can be toggled via JavaScript to appear from the left, right, top, or bottom edge of the viewport. Buttons or anchors are used as triggers that are attached to specific elements you toggle, and `data` attributes are used to invoke our JavaScript. - Offcanvas shares some of the same JavaScript code as modals. Conceptually, they are quite similar, but they are separate plugins. - Similarly, some [source Sass](#sass) variables for offcanvas's styles and dimensions are inherited from the modal's variables. @@ -188,6 +188,7 @@ The offcanvas plugin utilizes a few classes and attributes to handle the heavy l - `.offcanvas.show` shows the content - `.offcanvas-start` hides the offcanvas on the left - `.offcanvas-end` hides the offcanvas on the right +- `.offcanvas-top` hides the offcanvas on the top - `.offcanvas-bottom` hides the offcanvas on the bottom Add a dismiss button with the `data-bs-dismiss="offcanvas"` attribute, which triggers the JavaScript functionality. Be sure to use the `