Fix zoom controls contrast in topology view (#1066)
This commit is contained in:
parent
58788a0d31
commit
003be82d97
2 changed files with 25 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ export default function ProviderTopology({ providers = [], activeRequests = [],
|
|||
nodesConnectable={false}
|
||||
elementsSelectable={false}
|
||||
>
|
||||
<Controls showInteractive={false} />
|
||||
<Controls showInteractive={false} className="react-flow-controls-custom" />
|
||||
</ReactFlow>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -427,6 +427,30 @@ button {
|
|||
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-body h1 {
|
||||
font-size: 1.4rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue