Fix zoom controls contrast in topology view (#1066)
This commit is contained in:
committed by
GitHub
parent
58788a0d31
commit
003be82d97
@@ -304,7 +304,7 @@ export default function ProviderTopology({ providers = [], activeRequests = [],
|
|||||||
nodesConnectable={false}
|
nodesConnectable={false}
|
||||||
elementsSelectable={false}
|
elementsSelectable={false}
|
||||||
>
|
>
|
||||||
<Controls showInteractive={false} />
|
<Controls showInteractive={false} className="react-flow-controls-custom" />
|
||||||
</ReactFlow>
|
</ReactFlow>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -427,6 +427,30 @@ button {
|
|||||||
opacity: 0.04;
|
opacity: 0.04;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* React Flow controls: match app theme */
|
||||||
|
.react-flow-controls-custom {
|
||||||
|
background: var(--color-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: var(--shadow-soft);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-flow-controls-custom button {
|
||||||
|
background: var(--color-surface);
|
||||||
|
color: var(--color-text-main);
|
||||||
|
border: 0;
|
||||||
|
border-bottom: 1px solid var(--color-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-flow-controls-custom button:last-child {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-flow-controls-custom button:hover {
|
||||||
|
background: var(--color-bg-alt);
|
||||||
|
}
|
||||||
|
|
||||||
/* Changelog markdown body */
|
/* Changelog markdown body */
|
||||||
.changelog-body h1 {
|
.changelog-body h1 {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user