Fix scrollbar overflow when more elements on page
This commit is contained in:
parent
591fb64e36
commit
1022e1f098
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "odin-simple-image-slider",
|
"name": "odin-simple-image-slider",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Simple image slider",
|
"description": "Simple image slider",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.slider-image-container {
|
.slider-image-container {
|
||||||
|
@ -55,4 +56,4 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transform: scale(1.5);
|
transform: scale(1.5);
|
||||||
stroke: white;
|
stroke: white;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue