]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
🐛 Enable `0.x` with negative margins @ v4 (#33593)
authork-utsumi <k-utsumi@users.noreply.github.com>
Thu, 24 Jun 2021 07:57:47 +0000 (16:57 +0900)
committerGitHub <noreply@github.com>
Thu, 24 Jun 2021 07:57:47 +0000 (10:57 +0300)
commit086c0bfc25cc1dcd1365f192453992e9188876b8
tree64a3eec4e029ea8e603cff78463d98798ede9170
parent538ea32cb7818d6091858a983b20d181fc5a09a8
🐛 Enable `0.x` with negative margins @ v4 (#33593)

* 🐛 Enable `0.x` with negative margins @ v4

I set it as below, but no negative margin was added.
`$spacers: (0\.5: ($spacer * .125));`

After investigating, it seems that `0 \ .5` is also evaluated as 0.
So I changed it to string comparison.

HTML example: `<img class="mt-n0.5">`

* 💚 Clear CI errors
scss/utilities/_spacing.scss