2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Convert popovers to CSS variables

This commit is contained in:
Mark Otto
2021-09-08 20:18:22 -07:00
parent d1d3db12cf
commit 34ba9f8c15
4 changed files with 144 additions and 65 deletions
@@ -237,6 +237,14 @@
--bs-tooltip-bg: var(--bs-primary);
}
.custom-popover {
--bs-popover-max-width: 200px;
--bs-popover-border-color: var(--bs-primary);
--bs-popover-header-bg: var(--bs-primary);
--bs-popover-header-color: var(--bs-white);
--bs-popover-body-padding: .5rem 1rem;
}
// Scrollspy demo on fixed height div
.scrollspy-example {
position: relative;