Skip to content

Commit

Permalink
fixed position (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-paterson committed Sep 30, 2024
1 parent fccad5e commit ac4c263
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/fidgets/layout/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,11 @@ const Grid: LayoutFidget<GridLayoutProps> = ({
{inEditMode && (
<button
onClick={openFidgetPicker}
className="z-infinity flex rounded-xl p-2 m-3 px-auto bg-[#F3F4F6] hover:bg-sky-100 text-[#1C64F2] font-semibold absolute top-0 right-0"
className={
hasProfile
? "z-infinity flex rounded-xl p-2 m-3 px-auto bg-[#F3F4F6] hover:bg-sky-100 text-[#1C64F2] font-semibold absolute top-40 right-0"
: "z-infinity flex rounded-xl p-2 m-3 px-auto bg-[#F3F4F6] hover:bg-sky-100 text-[#1C64F2] font-semibold absolute top-0 right-0"
}
>
<div className="ml-2 ">
<AddFidgetIcon />
Expand Down

0 comments on commit ac4c263

Please sign in to comment.