B: Fix react-flow attribution styling
Some checks are pending
Frontend CI / build (22.x) (push) Waiting to run

This commit is contained in:
Ivan 2024-09-11 21:25:48 +03:00
parent 296e740cc7
commit 6b397003b3
2 changed files with 8 additions and 1 deletions

View File

@ -358,7 +358,6 @@ function OssFlow({ isModified, setIsModified }: OssFlowProps) {
onNodesChange={handleNodesChange} onNodesChange={handleNodesChange}
onEdgesChange={onEdgesChange} onEdgesChange={onEdgesChange}
onNodeDoubleClick={handleNodeDoubleClick} onNodeDoubleClick={handleNodeDoubleClick}
proOptions={{ hideAttribution: true }}
fitView fitView
nodeTypes={OssNodeTypes} nodeTypes={OssNodeTypes}
maxZoom={2} maxZoom={2}

View File

@ -64,6 +64,14 @@
cursor: default; cursor: default;
} }
.react-flow__attribution {
background-color: transparent;
color: var(--cl-fg-60);
.dark & {
color: var(--cd-fg-60);
}
}
:is(.react-flow__node-input, .react-flow__node-synthesis) { :is(.react-flow__node-input, .react-flow__node-synthesis) {
cursor: pointer; cursor: pointer;