center cursor

This commit is contained in:
mehbark 2023-08-20 08:00:21 -04:00
parent 0f9acbf71a
commit 3fd722d2b3

View file

@ -63,7 +63,7 @@ const Section = ({
style={{
display: "grid",
cursor: `${
cursor ? `url(${cursor_link(cursor)}), ` : ""
cursor ? `url(${cursor_link(cursor)}) 32 32, ` : ""
}pointer`,
gridArea: grid_area_str(grid_area),
...(outline_sections ? { outline: "1px solid red" } : {}),
@ -73,7 +73,9 @@ const Section = ({
<div
style={{
display: "grid",
cursor: `${cursor ? `url(${cursor_link(cursor)}), ` : ""}auto`,
cursor: `${
cursor ? `url(${cursor_link(cursor)}) 32 32, ` : ""
}auto`,
gridArea: grid_area_str(grid_area),
...(start
? {