mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-30 06:11:03 +00:00
Interface modification for the default game page
This commit is contained in:
@@ -18,11 +18,11 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
||||||
&__container {
|
&__container {
|
||||||
padding: 0px 12px 12px;
|
padding: 0px 12px 12px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--stuck {
|
&--stuck {
|
||||||
|
|||||||
@@ -61,7 +61,9 @@ export function HeroPanel() {
|
|||||||
<progress
|
<progress
|
||||||
max={1}
|
max={1}
|
||||||
value={
|
value={
|
||||||
isGameDownloading ? lastPacket?.progress : game?.download?.progress
|
isGameDownloading
|
||||||
|
? lastPacket?.progress
|
||||||
|
: game?.download?.progress
|
||||||
}
|
}
|
||||||
className={`hero-panel__progress-bar ${
|
className={`hero-panel__progress-bar ${
|
||||||
game?.download?.status === "paused"
|
game?.download?.status === "paused"
|
||||||
|
|||||||
Reference in New Issue
Block a user