From: Mark Otto Date: Wed, 2 Apr 2025 17:03:10 +0000 (-0700) Subject: Revamp some docs layout X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88fbaa907375f416a0e3ed3aeec5b50f0fb1905e;p=thirdparty%2Fbootstrap.git Revamp some docs layout --- diff --git a/.browserslistrc b/.browserslistrc index cddd230052..dcce24143c 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -3,10 +3,10 @@ >= 0.5% last 2 major versions not dead -Chrome >= 60 -Firefox >= 60 -Firefox ESR -iOS >= 12 -Safari >= 12 +Chrome >= 120 +Firefox >= 121 +iOS >= 15.6 +Safari >= 15.6 not Explorer <= 11 +Samsung >= 23 not kaios <= 2.5 # fix floating label issues in Firefox (see https://github.com/postcss/autoprefixer/issues/1533) diff --git a/package.json b/package.json index 39e2fb039d..38592bad77 100644 --- a/package.json +++ b/package.json @@ -188,18 +188,6 @@ "scss/**/*.scss", "!scss/tests/**" ], - "browserslist": [ - ">= 0.5%", - "last 2 major versions", - "not dead", - "Chrome >= 120", - "Firefox >= 121", - "iOS >= 15.6", - "Safari >= 15.6", - "not Explorer <= 11", - "Samsung >= 23", - "not kaios <= 2.5" - ], "jspm": { "registry": "npm", "main": "js/bootstrap", diff --git a/scss/layout/_grid.scss b/scss/layout/_grid.scss index 17fac456c7..89a5e1ff5a 100644 --- a/scss/layout/_grid.scss +++ b/scss/layout/_grid.scss @@ -29,6 +29,7 @@ @each $breakpoint in map.keys($breakpoints) { $infix: breakpoint-infix($breakpoint, $breakpoints); + $infix: if($infix == "", "", "-" + $infix); @include media-breakpoint-up($breakpoint, $breakpoints) { @if $grid-columns > 0 { @@ -79,7 +80,11 @@ .grid-cols-4 { --#{$prefix}columns: 4; } + .grid-cols-5 { + --#{$prefix}columns: 5; + } .grid-cols-6 { --#{$prefix}columns: 6; } + } diff --git a/site/src/components/DocsSidebar.astro b/site/src/components/DocsSidebar.astro index 1282ed7026..c36ea79bc8 100644 --- a/site/src/components/DocsSidebar.astro +++ b/site/src/components/DocsSidebar.astro @@ -17,7 +17,7 @@ const sidebar = getData('sidebar') return (