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

Slider not working inside a flex container #1906

Merged
merged 4 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/blocks/blocks/slider/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
--width: auto;

width: var( --width );
display: grid;

.glide__track {
border: var( --border-width ) solid var( --border-color );
border-radius: var( --border-radius );
overflow: hidden;
}

.glide__slides {
height: var( --height );
animation: load 4s 3;
Expand Down
Loading