mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 03:05:42 +00:00
fix ui
This commit is contained in:
@@ -150,7 +150,6 @@ function StepRow({
|
||||
: isNext
|
||||
? "green"
|
||||
: "gray";
|
||||
const highlighted = isNext || step.status === "APPROVED";
|
||||
|
||||
return (
|
||||
<Group
|
||||
@@ -161,8 +160,11 @@ function StepRow({
|
||||
py="xs"
|
||||
style={{
|
||||
borderRadius: 8,
|
||||
border: `1px solid ${highlighted ? "var(--mantine-color-green-2)" : "var(--mantine-color-gray-2)"}`,
|
||||
background: isNext ? "var(--mantine-color-green-0)" : "white",
|
||||
border: "1px solid var(--mantine-color-gray-2)",
|
||||
borderLeft: isNext
|
||||
? "3px solid var(--mantine-color-green-6)"
|
||||
: "1px solid var(--mantine-color-gray-2)",
|
||||
background: isNext ? "var(--mantine-color-gray-0)" : "white",
|
||||
}}
|
||||
>
|
||||
<Group gap="sm" wrap="nowrap" style={{ minWidth: 0 }}>
|
||||
@@ -177,8 +179,8 @@ function StepRow({
|
||||
flexShrink: 0,
|
||||
fontSize: 12,
|
||||
fontWeight: 700,
|
||||
background: isNext ? "var(--mantine-color-green-1)" : "var(--mantine-color-gray-1)",
|
||||
color: isNext ? "var(--mantine-color-green-8)" : "var(--mantine-color-gray-6)",
|
||||
background: "var(--mantine-color-gray-1)",
|
||||
color: isNext ? "var(--mantine-color-gray-7)" : "var(--mantine-color-gray-6)",
|
||||
}}
|
||||
>
|
||||
{step.stepOrder}
|
||||
|
||||
Reference in New Issue
Block a user