mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge pull request #995 from hydralauncher/fix/game-details-gallery-align
fix: game details gallery align
This commit is contained in:
commit
a3bdfe7641
5 changed files with 9 additions and 12 deletions
11
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
11
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -33,18 +33,11 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Additional information and data
|
label: Additional information and data
|
||||||
description: |
|
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 Windows: "%appdata%/hydra"
|
||||||
Logs location on Linux: "~/.config/hydra/"
|
Logs location on Linux: "~/.config/hydra/"
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: true
|
||||||
- type: textarea
|
|
||||||
id: screenshots
|
|
||||||
attributes:
|
|
||||||
label: Screenshots
|
|
||||||
description: If possible, add screenshots to help explain your problem.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: input
|
- type: input
|
||||||
id: OS
|
id: OS
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
${ifNot} ${isUpdated}
|
${ifNot} ${isUpdated}
|
||||||
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
|
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
|
||||||
RMDir /r "$APPDATA\hydra"
|
RMDir /r "$APPDATA\hydra"
|
||||||
|
RMDir /r "$LOCALAPPDATA\hydralauncher-updater"
|
||||||
${endIf}
|
${endIf}
|
||||||
!macroend
|
!macroend
|
||||||
|
|
|
@ -51,7 +51,10 @@ export class HydraApi {
|
||||||
expirationTimestamp: tokenExpirationTimestamp,
|
expirationTimestamp: tokenExpirationTimestamp,
|
||||||
};
|
};
|
||||||
|
|
||||||
logger.log("Sign in received", this.userAuth);
|
logger.log(
|
||||||
|
"Sign in received. Token expiration timestamp:",
|
||||||
|
tokenExpirationTimestamp
|
||||||
|
);
|
||||||
|
|
||||||
await userAuthRepository.upsert(
|
await userAuthRepository.upsert(
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,6 +19,7 @@ export const gallerySliderMedia = style({
|
||||||
flexGrow: "0",
|
flexGrow: "0",
|
||||||
transition: "translate 0.3s ease-in-out",
|
transition: "translate 0.3s ease-in-out",
|
||||||
borderRadius: "4px",
|
borderRadius: "4px",
|
||||||
|
alignSelf: "center",
|
||||||
});
|
});
|
||||||
|
|
||||||
export const gallerySliderAnimationContainer = style({
|
export const gallerySliderAnimationContainer = style({
|
||||||
|
@ -60,7 +61,6 @@ export const mediaPreviewButton = recipe({
|
||||||
base: {
|
base: {
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
height: "20%",
|
|
||||||
display: "block",
|
display: "block",
|
||||||
flexShrink: "0",
|
flexShrink: "0",
|
||||||
flexGrow: "0",
|
flexGrow: "0",
|
||||||
|
@ -84,7 +84,6 @@ export const mediaPreviewButton = recipe({
|
||||||
|
|
||||||
export const mediaPreview = style({
|
export const mediaPreview = style({
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
|
||||||
display: "flex",
|
display: "flex",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,7 @@ export function GallerySlider() {
|
||||||
src={image.path_full}
|
src={image.path_full}
|
||||||
style={{ translate: `${-100 * mediaIndex}%` }}
|
style={{ translate: `${-100 * mediaIndex}%` }}
|
||||||
alt={t("screenshot", { number: i + 1 })}
|
alt={t("screenshot", { number: i + 1 })}
|
||||||
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue