mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Remove the enlarged thumb-target area for the scrollbar (#18810)
This commit is contained in:
@@ -118,6 +118,7 @@ const viewportStyle = computed(() => {
|
|||||||
padding: var(--spacing-5xs);
|
padding: var(--spacing-5xs);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
transition: background 160ms ease-out;
|
transition: background 160ms ease-out;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--color-foreground-light);
|
background: var(--color-foreground-light);
|
||||||
@@ -138,18 +139,7 @@ const viewportStyle = computed(() => {
|
|||||||
background: var(--color-foreground-base);
|
background: var(--color-foreground-base);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
pointer-events: auto;
|
||||||
&::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
min-width: 44px;
|
|
||||||
min-height: 44px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--color-foreground-dark);
|
background: var(--color-foreground-dark);
|
||||||
|
|||||||
Reference in New Issue
Block a user