统一新首页与画布交互元素鼠标手型
This commit is contained in:
parent
2c1f936e11
commit
7555a6d7f6
@ -259,6 +259,33 @@
|
||||
@apply min-w-3;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
a[href],
|
||||
summary,
|
||||
button:not(:disabled),
|
||||
label[for],
|
||||
[role="button"],
|
||||
[role="link"],
|
||||
[role="menuitem"],
|
||||
[role="option"],
|
||||
[role="radio"],
|
||||
[role="switch"],
|
||||
[role="tab"],
|
||||
[role="checkbox"],
|
||||
[data-radix-collection-item],
|
||||
input[type="checkbox"],
|
||||
input[type="radio"],
|
||||
input[type="range"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:disabled,
|
||||
[aria-disabled="true"],
|
||||
[data-disabled] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
.cm-lineNumbers .cm-activeLineGutter {
|
||||
@apply rounded-l-sm!;
|
||||
}
|
||||
|
||||
@ -576,7 +576,8 @@ export function CanvasWorkspace() {
|
||||
enableResizing={isSelected && tool === 'select'}
|
||||
disableDragging={tool !== 'select'}
|
||||
className={cn(
|
||||
"absolute"
|
||||
"absolute",
|
||||
tool === "select" && "cursor-pointer"
|
||||
)}
|
||||
data-canvas-node-id={node.id}
|
||||
style={{ overflow: 'visible' }} // 允许工具栏显示在节点外部
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user