B: Fix react-flow attribution styling

This commit is contained in:
Ivan 2024-09-11 21:26:04 +03:00
parent 997021d628
commit f8d411eced
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;