mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: Update background gradient in BlankCanvas and modify border style in BlankDashboardUnit
This commit is contained in:
@@ -58,7 +58,7 @@ const BlankCanvasElement: FunctionComponent<ComponentProps> = (
|
||||
props.isEditMode
|
||||
? {
|
||||
backgroundImage:
|
||||
"radial-gradient(circle, #d1d5db 0.8px, transparent 0.8px)",
|
||||
"linear-gradient(to right, rgba(203, 213, 225, 0.3) 1px, transparent 1px), linear-gradient(to bottom, rgba(203, 213, 225, 0.3) 1px, transparent 1px)",
|
||||
backgroundSize: "20px 20px",
|
||||
borderRadius: "8px",
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ const BlankDashboardUnitElement: FunctionComponent<ComponentProps> = (
|
||||
width: widthOfUnitInPx + "px",
|
||||
height: heightOfUnitInPx + "px",
|
||||
margin: MarginForEachUnitInPx + "px",
|
||||
border: props.isEditMode ? "1px dashed rgba(203, 213, 225, 0.5)" : "none",
|
||||
border: props.isEditMode ? "1px solid rgba(203, 213, 225, 0.4)" : "none",
|
||||
borderRadius: "6px",
|
||||
}}
|
||||
></div>
|
||||
|
||||
Reference in New Issue
Block a user