fix: added a scrollbar to accomodate the components while dropping the components

This commit is contained in:
Kavin Venkatachalam 2025-05-15 21:32:09 +05:30
parent 7b297c620c
commit a9f47eb5e8
2 changed files with 34 additions and 1 deletions

@ -1 +1 @@
Subproject commit c208a5ad1377803ec4697af93d6a25a77f79fc51
Subproject commit ec8cc0f8566bbc39a9c9aa5220cf2ad9c2677f3a

View file

@ -40,4 +40,37 @@
.show-module-border {
outline: dotted 2px #CCD1D5 !important;
}
.module-container-canvas {
>div:first-child {
height: 100%;
overflow: hidden auto;
/* Hide scrollbar by default */
&::-webkit-scrollbar {
width: 6px;
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: transparent;
}
/* Show scrollbar only on hover */
&:hover {
&::-webkit-scrollbar-thumb {
background-color: #6a727c4d;
border-radius: 3px;
}
}
/* Firefox scrollbar support */
scrollbar-width: thin;
scrollbar-color: transparent transparent;
&:hover {
scrollbar-color: #6a727c4d transparent;
}
}
}