From 154916ca2e9160cc17c21c7a8e5938832ab186b3 Mon Sep 17 00:00:00 2001 From: JWB Date: Fri, 15 Jul 2022 00:02:19 -0400 Subject: [PATCH] Fixing pagination compile issue This was an issue with the tables as well, but that has been updated here - 4a3c004c349ec9b20990c8aa760d12c50c450bbd This was also noted here - 36501#issuecomment-1153187062_ This effects the 5.2 beta1 that is released on the homepage. Whats happening is with a fresh download and compile, with some compilers, I noticed not all of them run into this issue, we get the Sass variable showing up and not the actual value. Steps to reproduce - - Download the source code form the docs for beta 2 and extract - Open VSCode -> open folder to the bootstrap directory you just extracted - install the "Sass/Less/Stylus/Pug/Jade/Typescript/Javascript Compile Hero Pro" v2.3.53 by Eno Yao extension ---- might have to restart VSCode - go to that extensions settings, and set the directory to save the output / compiled version to `../dist` - tap that Compile Hero on the bottom to activate the extension - open `bootstrap.scss` add a space or a new line and save it - check the compiles version and you should see the errors --- scss/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index 75205c39a766..3048510636ec 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1196,7 +1196,7 @@ $pagination-color: var(--#{$prefix}link-color) !default; $pagination-bg: $white !default; $pagination-border-radius: $border-radius !default; $pagination-border-width: $border-width !default; -$pagination-margin-start: calc($pagination-border-width * -1) !default; // stylelint-disable-line function-disallowed-list +$pagination-margin-start: ($pagination-border-width * -1) !default; $pagination-border-color: $gray-300 !default; $pagination-focus-color: var(--#{$prefix}link-hover-color) !default;