mirror of
https://github.com/RGJorge/ContainerFlow.git
synced 2026-08-03 07:21:42 +02:00
v0.0.14
This commit is contained in:
@@ -436,17 +436,7 @@ function Dashboard({ token }: { token: string }) {
|
||||
totalStats={totalStats}
|
||||
/>
|
||||
|
||||
{/* Loading skeleton */}
|
||||
{services.length === 0 && (
|
||||
<div className="flex-1 min-h-0 relative m-2 rounded-xl overflow-hidden ring-1 ring-slate-700/60 shadow-[inset_0_2px_12px_rgba(0,0,0,0.5)] flex items-center justify-center gap-8 bg-slate-900">
|
||||
{[1, 2, 3].map((i) => (
|
||||
<div key={i} className="w-[220px] h-[140px] rounded-xl bg-slate-800/60 animate-pulse" />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Canvas — inset */}
|
||||
{services.length > 0 && (
|
||||
<div className="flex-1 min-h-0 relative m-2 rounded-xl overflow-hidden ring-1 ring-slate-700/60 shadow-[inset_0_2px_12px_rgba(0,0,0,0.5)]">
|
||||
<ReactFlow
|
||||
onInit={(instance) => { reactFlowRef.current = instance; }}
|
||||
@@ -540,7 +530,6 @@ function Dashboard({ token }: { token: string }) {
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</StatsStoreContext.Provider>
|
||||
);
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
|
||||
.react-flow__controls {
|
||||
border: 1px solid #1e293b !important;
|
||||
border-radius: 8px !important;
|
||||
|
||||
Reference in New Issue
Block a user