feat(canvas): 智能引用 - 支持素材自动补全与全文引用
This commit is contained in:
@@ -9370,6 +9370,24 @@
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--foreground) 10%, transparent);
|
||||
}
|
||||
|
||||
.canvas-node-reference-order {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
display: grid;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
place-items: center;
|
||||
border-radius: var(--r-full);
|
||||
background: var(--canvas-composer-surface);
|
||||
color: var(--foreground);
|
||||
font-size: var(--fs-micro);
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.canvas-node-reference-preview {
|
||||
position: relative;
|
||||
width: var(--canvas-reference-chip-size, 44px);
|
||||
@@ -9480,6 +9498,34 @@
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
.canvas-node-composer-reference-tools-trigger {
|
||||
width: auto !important;
|
||||
min-width: 28px !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
.canvas-node-composer-reference-tools-trigger.is-compact {
|
||||
width: 28px !important;
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
|
||||
.canvas-reference-tools-popover {
|
||||
width: 280px !important;
|
||||
max-width: calc(100vw - 24px) !important;
|
||||
}
|
||||
|
||||
.canvas-reference-tools-popover .ant-popover-content,
|
||||
.canvas-reference-tools-popover .ant-popover-inner,
|
||||
.canvas-reference-tools-popover .ant-popover-inner-content {
|
||||
box-sizing: border-box;
|
||||
width: 100% !important;
|
||||
max-width: calc(100vw - 24px);
|
||||
}
|
||||
|
||||
.canvas-reference-tools-popover .ant-popover-inner-content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.canvas-node-composer-submit {
|
||||
display: inline-flex !important;
|
||||
min-width: var(--space-8) !important;
|
||||
|
||||
Reference in New Issue
Block a user