Bootstrap: Formatting for $sizes sass map

Created on 3 Jun 2020  路  3Comments  路  Source: twbs/bootstrap

Hey guys i've been looking for the formatting of the $sizes sass map used for width and height relative sizing https://getbootstrap.com/docs/4.5/utilities/sizing/#relative-to-the-parent. Is there supposed to be one in _variables.scss ? Am I way off base?

awaiting-reply

Most helpful comment

Looks like it has been removed from the master branch.
But if you look at v4.5.0 it's there.

https://github.com/twbs/bootstrap/blob/7a6da5e3e7ad7c749dde806546a35d4d4259d965/scss/_variables.scss#L155-L166

All 3 comments

Looks like it has been removed from the master branch.
But if you look at v4.5.0 it's there.

https://github.com/twbs/bootstrap/blob/7a6da5e3e7ad7c749dde806546a35d4d4259d965/scss/_variables.scss#L155-L166

I think you searched on the master branch, which is v5. The doc (and latest release) is v4, on the v4-dev branch: here's the $sizes map.

If this is what you were looking for, please close this issue :)

Thanks!

Was this page helpful?
0 / 5 - 0 ratings