Fix scrollbar overflow when more elements on page

This commit is contained in:
NetMan 2024-02-20 17:24:34 +01:00
parent 591fb64e36
commit 1022e1f098
2 changed files with 3 additions and 2 deletions

View File

@ -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": {

View File

@ -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;
} }