From: Mark Otto Date: Thu, 18 Dec 2025 22:46:26 +0000 (-0800) Subject: Rename some components to be singular (#41952) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d288876064cf78afe41c915ec63677370cbab6;p=thirdparty%2Fbootstrap.git Rename some components to be singular (#41952) * Singular spinner * Rename some component files to be singular --- diff --git a/scss/_placeholders.scss b/scss/_placeholder.scss similarity index 100% rename from scss/_placeholders.scss rename to scss/_placeholder.scss diff --git a/scss/_spinners.scss b/scss/_spinner.scss similarity index 100% rename from scss/_spinners.scss rename to scss/_spinner.scss diff --git a/scss/bootstrap.scss b/scss/bootstrap.scss index 52fc04d4b1..27ad32e3fb 100644 --- a/scss/bootstrap.scss +++ b/scss/bootstrap.scss @@ -24,10 +24,10 @@ @forward "navbar"; @forward "offcanvas"; @forward "pagination"; -@forward "placeholders"; +@forward "placeholder"; @forward "popover"; @forward "progress"; -@forward "spinners"; +@forward "spinner"; @forward "toasts"; @forward "tooltip"; @forward "transitions"; diff --git a/scss/content/_prose.scss b/scss/content/_prose.scss index e3cc510fc9..e2321bfb7b 100644 --- a/scss/content/_prose.scss +++ b/scss/content/_prose.scss @@ -87,7 +87,6 @@ font-size: 1.75em; } h3 { - margin-bottom: calc(var(--#{$prefix}content-gap) / 4); font-size: 1.5em; } h4 { diff --git a/site/data/sidebar.yml b/site/data/sidebar.yml index a29e681ba7..4fd8e75f3d 100644 --- a/site/data/sidebar.yml +++ b/site/data/sidebar.yml @@ -35,7 +35,6 @@ - title: Color modes - title: Components - title: CSS variables - # - title: RTL - title: Optimize - title: Layout @@ -82,7 +81,7 @@ icon_color: cyan pages: - title: Accordion - - title: Alerts + - title: Alert - title: Badge - title: Breadcrumb - title: Buttons @@ -92,17 +91,17 @@ - title: Close button - title: Collapse - title: Dialog - - title: Dropdowns + - title: Dropdown - title: List group - title: Navbar - title: Navs & tabs - title: Offcanvas - title: Pagination - - title: Placeholders + - title: Placeholder - title: Popover - title: Progress - title: Scrollspy - - title: Spinners + - title: Spinner - title: Toasts - title: Tooltip diff --git a/site/src/assets/partials/snippets.js b/site/src/assets/partials/snippets.js index 3be645a3ba..33488ebda6 100644 --- a/site/src/assets/partials/snippets.js +++ b/site/src/assets/partials/snippets.js @@ -80,7 +80,7 @@ export default () => { const appendAlert = (message, type) => { const wrapper = document.createElement('div') wrapper.innerHTML = [ - ` -`} /> + +`} /> We use the following JavaScript to trigger our live alert demo: @@ -31,7 +33,7 @@ We use the following JavaScript to trigger our live alert demo: Use the `.alert-link` utility class to quickly provide matching colored links within any alert. - `