Lexical: Added fade to table resizers

This commit is contained in:
Dan Brown
2026-05-10 13:04:39 +01:00
parent e982443988
commit 6367f007c1
2 changed files with 3 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ export class EditorContextToolbar extends EditorContainerUiElement {
const targetMid = targetBounds.left + (targetBounds.width / 2);
const intendedBounds: DOMRectInit = {
x: targetMid -(domBounds.width / 2),
x: targetMid - (domBounds.width / 2),
y: targetBounds.bottom + 6,
width: domBounds.width,
height: domBounds.height,
@@ -109,4 +109,4 @@ export class EditorContextToolbar extends EditorContainerUiElement {
}
return false;
}
}
}

View File

@@ -461,6 +461,7 @@ body.editor-is-fullscreen {
z-index: 3;
user-select: none;
opacity: 0;
transition: opacity 120ms ease-in-out;
&:hover, &.active {
opacity: 0.4;
}