Skip to content

Commit

Permalink
I-56 Starting update the data, fix minor layout issue when filling data
Browse files Browse the repository at this point in the history
  • Loading branch information
hhpr98 committed Oct 30, 2023
1 parent 6cc00c4 commit a6a9d3c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "my-travel",
"version": "0.3.11",
"version": "0.4.0",
"private": true,
"homepage": "https://hhpr98.github.io/my-travel",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PlaceGallery/placegallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.images img {
height: calc(33vh - 20px);
height: calc(35vh - 20px);
padding: 10px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/helper/getLink.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const getLink = (img: ImageProperies): string => {
if (img?.type === "Google Drive")
return `https://drive.google.com/uc?export=download&id=${img.id}`;
return `https://drive.google.com/uc?export=view&id=${img.id}`;
if (img?.url)
return img.url;
return "";
Expand Down
2 changes: 1 addition & 1 deletion src/resources

0 comments on commit a6a9d3c

Please sign in to comment.