From: Mark Otto Date: Mon, 14 Apr 2025 16:57:38 +0000 (-0700) Subject: Don't import Bootstrap CSS again X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13a3d3e744553d500a6bcfd2035a14be1db47343;p=thirdparty%2Fbootstrap.git Don't import Bootstrap CSS again --- diff --git a/package-lock.json b/package-lock.json index d92c72543c..cebfbad939 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,11 +18,6 @@ } ], "license": "MIT", - "dependencies": { - "remark": "^15.0.1", - "remark-html": "^16.0.1", - "yaml": "^2.7.0" - }, "devDependencies": { "@astrojs/check": "^0.9.4", "@astrojs/markdown-remark": "^6.3.2", @@ -19383,6 +19378,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", + "dev": true, "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/scss/_utilities.scss b/scss/_utilities.scss index efb0ccd883..e355fe42eb 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -146,6 +146,7 @@ $utilities: map.merge( ) ), "border-top": ( + class: border-top, property: border-block-start, values: ( null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color), @@ -162,6 +163,7 @@ $utilities: map.merge( ), "border-bottom": ( property: border-block-end, + class: border-bottom, values: ( null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color), 0: 0, diff --git a/site/src/components/head/Stylesheet.astro b/site/src/components/head/Stylesheet.astro index 0a64de1f06..787d182444 100644 --- a/site/src/components/head/Stylesheet.astro +++ b/site/src/components/head/Stylesheet.astro @@ -1,5 +1,5 @@ --- -// import { getVersionedBsCssProps } from '@libs/bootstrap' +import { getVersionedBsCssProps } from '@libs/bootstrap' import type { Layout } from '@libs/layout' interface Props { @@ -10,5 +10,6 @@ interface Props { const { direction } = Astro.props --- - + + diff --git a/site/src/components/shortcodes/Example.astro b/site/src/components/shortcodes/Example.astro index 34d4b511c1..7bfd41417c 100644 --- a/site/src/components/shortcodes/Example.astro +++ b/site/src/components/shortcodes/Example.astro @@ -80,7 +80,7 @@ const simplifiedMarkup = markup showMarkup && ( <> {showPreview && ( -
+
{lang}