mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: update BlankDashboardUnit styling to conditionally apply border based on edit mode
This commit is contained in:
@@ -21,7 +21,9 @@ const BlankDashboardUnitElement: FunctionComponent<ComponentProps> = (
|
||||
props.onClick();
|
||||
}}
|
||||
style={{
|
||||
border: "none",
|
||||
border: props.isEditMode
|
||||
? "1px solid rgba(203, 213, 225, 0.4)"
|
||||
: "none",
|
||||
borderRadius: "6px",
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user