twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
169.94k stars 78.74k forks source link

Add modal width breakpoints as CSS Variables #40640

Open VMLuca opened 1 month ago

VMLuca commented 1 month ago

Prerequisites

Proposal

Currently only width breakpoints are available as SCSS variables for the modal.

modal-sm: 300px;
$modal-md:                          500px;
$modal-lg:                          800px;
$modal-xl: 1140px;

Motivation and context

Please add the ability to add width breakpoints as CSS variables so that I can set different breakpoints for different modals and not just globally with sccs variables.

KKartikay-27 commented 1 month ago

@julien-deramond Please assign this issue to me.

julien-deramond commented 1 month ago

@julien-deramond Please assign this issue to me.

@KKartikay-27 we don't assign issues in this repository as mentioned in the contributing guidelines.

poswalsameer commented 3 weeks ago

Hii @VMLuca, can you please describe the issue more briefly, I went through the _variables.scss, these breakpoints are already available there.

VMLuca commented 2 weeks ago

_variables.scss is about scss variabels, isn't it? I was talking about CSS variables