mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +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);
|
||||
background: transparent;
|
||||
transition: background 160ms ease-out;
|
||||
pointer-events: none;
|
||||
|
||||
&:hover {
|
||||
background: var(--color-foreground-light);
|
||||
@@ -138,18 +139,7 @@ const viewportStyle = computed(() => {
|
||||
background: var(--color-foreground-base);
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
}
|
||||
pointer-events: auto;
|
||||
|
||||
&:hover {
|
||||
background: var(--color-foreground-dark);
|
||||
|
||||
Reference in New Issue
Block a user