diff options
author | JWB <john.skem9@gmail.com> | 2022-07-15 07:02:19 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2022-07-18 07:18:55 +0300 |
commit | 154916ca2e9160cc17c21c7a8e5938832ab186b3 (patch) | |
tree | 68d8fddd31e657e6697252f9da0c691824982177 | |
parent | 9d5c834f946b94683fb567d30e3b88832f213e59 (diff) |
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
-rw-r--r-- | scss/_variables.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 75205c39a7..3048510636 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; |