reformatting slot recipes for better orginization

This commit is contained in:
2026-09-15 14:45:32 -07:00
parent 4523f8035f
commit c32afff1c5
2 changed files with 10 additions and 18 deletions
@@ -141,6 +141,16 @@ export default function MyDashboard() {
{/* THE DELETE BUTTON */} {/* THE DELETE BUTTON */}
{isEditing && ( {isEditing && (
<IconButton <IconButton
position="absolute"
top={2}
right={2}
bg="white"
color="black"
border="1px solid"
borderRadius="xl"
borderColor="gray.200"
_hover={{bg: "red.50", color: "red.500", borderColor: "red.200"}}
zIndex={2}
aria-label="Remove widget" aria-label="Remove widget"
size="xs" size="xs"
onClick={() => removeWidget(widget.id)} onClick={() => removeWidget(widget.id)}
-18
View File
@@ -380,24 +380,6 @@ const glassPanelRecipe = defineSlotRecipe({
width: "100%", width: "100%",
height: "100%", height: "100%",
borderRadius: "3xl", borderRadius: "3xl",
"& > button": {
position: "absolute",
top: 2,
right: 2,
// size="xs",
bg: "white",
color: "black",
border: "1px solid",
borderRadius: "xl",
borderColor: "gray.200",
_hover: {
bg: "red.50",
color: "red.500",
borderColor: "red.200"
},
zIndex: 2,
}
}, },
header: { header: {
display: "flex", display: "flex",