mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-10 05:53:05 +09:00
Merge origin/fix/ui-bugs into feat/ui-security-polish
This commit is contained in:
commit
cd8e740fb3
2 files changed
-11
No files matched your search
@@ -4,7 +4,6 @@ import {
|
||||
ReactFlowProvider,
|
||||
Background,
|
||||
Controls,
|
||||
MiniMap,
|
||||
MarkerType,
|
||||
} from '@xyflow/react';
|
||||
import '@xyflow/react/dist/style.css';
|
||||
@@ -274,7 +273,6 @@ function Diagram({ viewId }) {
|
||||
maxZoom={1.5}
|
||||
>
|
||||
<Background gap={18} size={1} color="var(--border-subtle)" />
|
||||
<MiniMap pannable zoomable />
|
||||
<Controls showInteractive={false} />
|
||||
</ReactFlow>
|
||||
);
|
||||
|
||||
@@ -84,17 +84,8 @@
|
||||
--xy-controls-button-color: #{$text-secondary};
|
||||
--xy-controls-button-color-hover: #{$text-primary};
|
||||
--xy-controls-button-border-color: #{$border-subtle};
|
||||
--xy-minimap-background-color: #{$bg-elevated};
|
||||
--xy-minimap-mask-background-color: rgba(0, 0, 0, 0.35);
|
||||
--xy-minimap-node-background-color: #{$border-default};
|
||||
--xy-background-color: transparent;
|
||||
}
|
||||
|
||||
@media (max-width: 639px) {
|
||||
.react-flow__minimap {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Node label + subtitle rendered inside ReactFlow's default node body.
|
||||
|
||||
Reference in new issue
Block a user