Skip to content

Bootstrap version fixes (as Bootstrap version is currently broken) #558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions build/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ const plugins = [
babelHelpers: 'bundled'
}),
BOOTSTRAP && replace({
preventAssignment: true,
preventAssignment: false,
delimiters: ['', ''],
'/coreui': '/coreui', // prevents changes in URLs
coreui: 'bs',
'-coreui': '-bs',
'coreui=': 'bs=', // [data-coreui="navigation"] => [data-bs="navigation"] (workaround for `preventAssignment` being true),
'coreui': 'bs',
'--cui-': '--bs-'
})
]
Expand Down
4 changes: 2 additions & 2 deletions scss/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);

.dropdown-menu#{$infix}-start {
--cui-position: start;
--#{$prefix}position: start;

&[data-coreui-popper] {
@include ltr-rtl("right", auto);
Expand All @@ -100,7 +100,7 @@
}

.dropdown-menu#{$infix}-end {
--cui-position: end;
--#{$prefix}position: end;

&[data-coreui-popper] {
@include ltr-rtl("right", 0);
Expand Down
Loading