master
mahdi 2 years ago
parent cfe5d6da83
commit 7417df6b7c
  1. 25
      src/App.scss
  2. 2
      src/views/Products/layouts/Desktop/Sidebar.js
  3. 1
      src/views/Video/index.js

@ -146,3 +146,28 @@ iframe {
-webkit-box-orient: vertical;
overflow: hidden;
}
.scrollYDesign::-webkit-scrollbar {
position: absolute;
left: 1px;
bottom: 0;
z-index: 2;
width: 4px;
/* width: 5px !important; */
}
.scrollYDesign::-webkit-scrollbar-button {
display: none;
appearance: none;
}
.scrollYDesign::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #12cf7f;
}
.scrollYDesign::-webkit-scrollbar-track {
background-color: transparent !important;
display: none;
appearance: none;
}

@ -60,7 +60,7 @@ export const Sidebar = ({
/>
</div>
<ul
className={`list-none p-0 mt-2 mb-0 mx-0 flex overflow-x-hidden flex-col transition-all`}
className={`list-none p-0 mt-2 mb-0 mx-0 flex overflow-x-hidden flex-col transition-all scrollYDesign`}
style={{
maxHeight: !toggleList[name] ? 0 : "calc(100vh / 2.2)",
overflowY: !toggleList[name] ? "hidden" : "scroll",

@ -62,6 +62,7 @@ function Video({
<img
src={`https://dnvn.ir/api/v1/file/${book?.fileIds}`}
className="rounded-sm w-5/12 object-contain"
alt=""
/>
<div className="flex flex-col py-1 pr-3">
<strong className="text-blue5F leading-7 text-lg dark:text-white font-black">

Loading…
Cancel
Save