diff --git a/package-lock.json b/package-lock.json index 20551154..91d8b24a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27022,7 +27022,7 @@ }, "packages/presentation": { "name": "@ulms/ui-presentation", - "version": "1.10.0", + "version": "1.10.1", "license": "MIT", "dependencies": { "@ulms/ui-icons": "^1.1.0", diff --git a/packages/presentation/package.json b/packages/presentation/package.json index ff839203..29f0be32 100644 --- a/packages/presentation/package.json +++ b/packages/presentation/package.json @@ -1,6 +1,6 @@ { "name": "@ulms/ui-presentation", - "version": "1.10.0", + "version": "1.10.1", "license": "MIT", "main": "index.js", "module": "es/index.js", diff --git a/packages/presentation/src/presentation.module.css b/packages/presentation/src/presentation.module.css index caa2f79c..3993b38b 100644 --- a/packages/presentation/src/presentation.module.css +++ b/packages/presentation/src/presentation.module.css @@ -7,23 +7,23 @@ } .listWrapper, -.slide { +.transformWrapper { scrollbar-width: thin; scrollbar-color: #d5d7e1 #f5f6f9; } .listWrapper::-webkit-scrollbar, -.slide::-webkit-scrollbar { +.transformWrapper::-webkit-scrollbar { width: 6px; } .listWrapper::-webkit-scrollbar-thumb, -.slide::-webkit-scrollbar-thumb { +.transformWrapper::-webkit-scrollbar-thumb { background-color: #d5d7e1; } .listWrapper::-webkit-scrollbar-track, -.slide::-webkit-scrollbar-track { +.transformWrapper::-webkit-scrollbar-track { background: #f5f6f9; border-radius: 3px; } @@ -148,11 +148,6 @@ transform: translate(-50%, -50%); } -.fitToWidth { - overflow: hidden; - overflow-y: scroll; -} - .root .slideWrapper .controls { min-height: 30px; margin-top: 20px; @@ -204,3 +199,8 @@ height: 100% !important; width: 100% !important; } + +.fitToWidth .transformWrapper { + overflow: hidden; + overflow-y: scroll; +}