]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Remove the initial margin from dropdown/popover in favor of Popper (#32524)
authorRohit Sharma <rohit2sharma95@gmail.com>
Wed, 3 Feb 2021 19:37:25 +0000 (01:07 +0530)
committerGitHub <noreply@github.com>
Wed, 3 Feb 2021 19:37:25 +0000 (21:37 +0200)
commit217d84d6b25c44ea9791e4ca760a35e46f2e0653
tree5d2f0da60cecad1e7eb6c0e9387677e6fa50a5f6
parenta1bb65ef49d1373f224e228e67112a675b390720
Remove the initial margin from dropdown/popover in favor of Popper (#32524)

* Remove the margin from dropdown in favor of Popper

- Set the default margin to 0 for dropdowns (To remove the Popper's  warning)
- Set the required offset in dropdown's defaults

* Remove the margin from the popover component

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/dropdown.js
js/src/popover.js
scss/_dropdown.scss
scss/_popover.scss
site/content/docs/5.0/components/dropdowns.md
site/content/docs/5.0/components/popovers.md