Skip to content

Commit

Permalink
style: adjust bounce loading to be center aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmin committed Nov 19, 2024
1 parent 23f518e commit 4893999
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
12 changes: 0 additions & 12 deletions src/app/(pages)/4q-create/download/[ticketId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@ export default function Page() {
}
}, [ticketId]);

const showModal = () => {
setIsModalOpen(true);
};

const handleOk = () => {
setIsModalOpen(false);
};

const handleCancel = () => {
setIsModalOpen(false);
};

const handleDownload = async () => {
if (ticketUrl) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@
text-align: center;
column-gap: 10px;
}

.loadingContainer {
margin-top: 50px;
width: 100%;
display: flex;
justify-content: center;
}
2 changes: 1 addition & 1 deletion src/app/(pages)/4q-gallery/_components/item-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function Container({ category, tag, sort }: ContainerProps) {

if (isLoading) {
return (
<div style={{ marginTop: "50px" }}>
<div className={styles.loadingContainer}>
<BounceDot option={loadingOption} />
</div>
);
Expand Down

0 comments on commit 4893999

Please sign in to comment.