B: Fix react-flow attribution styling
Some checks are pending
Frontend CI / build (22.x) (push) Waiting to run
Some checks are pending
Frontend CI / build (22.x) (push) Waiting to run
This commit is contained in:
parent
296e740cc7
commit
6b397003b3
|
@ -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}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user