Skip to content

Commit

Permalink
feat: 에디터에서 버튼 안뜨는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
xilucks committed Aug 22, 2024
1 parent 78a918d commit e7a40cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/app/(main)/i/[subdomain]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export default async function Page({ params }: Props) {
<Recursive key={childElement.id} element={childElement} />
))}
</div>
{invitation.customFields?.fab?.type === "invitation_response" && (
<FloatingActionButton />
)}
<FloatingActionButton />
</main>
</EditorProvider>
);
Expand Down
4 changes: 3 additions & 1 deletion src/components/editor/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export default function EditorMain() {
{editor.data.elements.map((childElement) => (
<Recursive key={childElement.id} element={childElement} />
))}
<FloatingActionButton />
<div className={"absolute bottom-[12%] h-fit w-full"}>
<FloatingActionButton />
</div>
</ScrollArea>
<ElementHelper />
</div>
Expand Down

0 comments on commit e7a40cf

Please sign in to comment.