Skip to content

Commit

Permalink
style: relocate btn of 4q create
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmin committed Oct 10, 2024
1 parent d0a46e6 commit 37e3cad
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,15 @@
}

.prevBtnContainer {
position: absolute;
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: -50px;
bottom: -20px;
}

.prevBtn {
position: fixed;
bottom: -70px;
left: 50%;
transform: translateX(-50%);
}
2 changes: 1 addition & 1 deletion src/app/(pages)/4q-gallery/_components/second.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
width: 100%;
position: absolute;
left: 50%;
bottom: 13%;
bottom: 11%;
transform: translateX(-50%);
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/app/(pages)/4q-gallery/_components/second.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function Third() {

const [backgroundImage] = useImage(
storedFormData.backgroundImageUrl,
"anonymous"
"use-credentials"
);
const [qrImage] = useImage(qrImageUrl, "anonymous");

Expand Down
1 change: 0 additions & 1 deletion src/service/photo_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export const likeImage = async (imageId: string) => {
export const getGalleryData = async (page: number, category: string, tag: string, sort: string) => {
const token = sessionStorage.getItem('AccessToken');

// Construct the URL with optional query parameters
const url = new URL(`${BASE_URL}/gallery`);
url.searchParams.append('page', page.toString());
if (category && category !== 'all') url.searchParams.append('categoryName', category);
Expand Down

0 comments on commit 37e3cad

Please sign in to comment.