mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
fix: added a scrollbar to accomodate the components while dropping the components
This commit is contained in:
parent
7b297c620c
commit
a9f47eb5e8
2 changed files with 34 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit c208a5ad1377803ec4697af93d6a25a77f79fc51
|
||||
Subproject commit ec8cc0f8566bbc39a9c9aa5220cf2ad9c2677f3a
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue