Skip to content
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

overflow-x-scroll has an !important applied negating respinsive directives #39913

Closed
3 tasks done
olia-bn opened this issue Apr 18, 2024 · 1 comment
Closed
3 tasks done

Comments

@olia-bn
Copy link

olia-bn commented Apr 18, 2024

Prerequisites

Describe the issue

.overflow-x-scroll class has !important directive applied to it. This seems like a bug, since it overrides respoisive classes like .overflow-x-md-auto

Result from DevTools

_utilities.scss:67

.overflow-x-scroll {
    overflow-x: scroll !important;
}

but

_utility.scss:13

.overflow-x-scroll {
    overflow-x: scroll;
}

and

_utility.scss:28

.overflow-x-md-auto {
    overflow-x: auto;
}

Reduced test cases

https://codepen.io/olia-bn/pen/vYMVppd

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.3.3

@olia-bn
Copy link
Author

olia-bn commented Apr 18, 2024

Im a teapot.

@olia-bn olia-bn closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant