Skip to content

Commit

Permalink
Merge pull request #995 from hydralauncher/fix/game-details-gallery-a…
Browse files Browse the repository at this point in the history
…lign

fix: game details gallery align
  • Loading branch information
zamitto authored Sep 19, 2024
2 parents 613898b + e7b4f8e commit a3bdfe7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
11 changes: 2 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,11 @@ body:
attributes:
label: Additional information and data
description: |
If possible, add screenshots and upload your logs file here.
Add screenshots and upload your logs file here.
Logs location on Windows: "%appdata%/hydra"
Logs location on Linux: "~/.config/hydra/"
validations:
required: false
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If possible, add screenshots to help explain your problem.
validations:
required: false
required: true
- type: input
id: OS
attributes:
Expand Down
1 change: 1 addition & 0 deletions build/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
${ifNot} ${isUpdated}
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
RMDir /r "$APPDATA\hydra"
RMDir /r "$LOCALAPPDATA\hydralauncher-updater"
${endIf}
!macroend
5 changes: 4 additions & 1 deletion src/main/services/hydra-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ export class HydraApi {
expirationTimestamp: tokenExpirationTimestamp,
};

logger.log("Sign in received", this.userAuth);
logger.log(
"Sign in received. Token expiration timestamp:",
tokenExpirationTimestamp
);

await userAuthRepository.upsert(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const gallerySliderMedia = style({
flexGrow: "0",
transition: "translate 0.3s ease-in-out",
borderRadius: "4px",
alignSelf: "center",
});

export const gallerySliderAnimationContainer = style({
Expand Down Expand Up @@ -60,7 +61,6 @@ export const mediaPreviewButton = recipe({
base: {
cursor: "pointer",
width: "20%",
height: "20%",
display: "block",
flexShrink: "0",
flexGrow: "0",
Expand All @@ -84,7 +84,6 @@ export const mediaPreviewButton = recipe({

export const mediaPreview = style({
width: "100%",
height: "100%",
display: "flex",
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export function GallerySlider() {
src={image.path_full}
style={{ translate: `${-100 * mediaIndex}%` }}
alt={t("screenshot", { number: i + 1 })}
loading="lazy"
/>
))}

Expand Down

0 comments on commit a3bdfe7

Please sign in to comment.