minor fix front

This commit is contained in:
aurinex
2025-12-13 00:12:32 +05:00
parent 5e5f1aaa0a
commit bfb5a8ae6d
13 changed files with 223 additions and 157 deletions

View File

@ -407,6 +407,7 @@ export default function Shop() {
height: '100%',
justifyContent: 'center',
alignItems: 'center',
overflow: 'hidden',
}}
>
{(loading || onlineCheckLoading) && (
@ -418,14 +419,13 @@ export default function Shop() {
sx={{
display: 'flex',
flexDirection: 'column',
width: '90%',
height: '80%',
width: '100%',
height: '100%',
gap: '2vw',
overflow: 'auto',
paddingTop: '3vh',
paddingBottom: '10vh',
paddingLeft: '5vw',
paddingRight: '5vw',
paddingBottom: '5vw',
paddingLeft: '2.5vw',
paddingRight: '1.5vw',
}}
>
{/* Блок прокачки */}
@ -434,6 +434,7 @@ export default function Shop() {
display: 'flex',
flexDirection: 'column',
gap: 2,
mt: '2vh'
}}
>
<Typography
@ -546,6 +547,9 @@ export default function Shop() {
{!isOnline && (
<Button
disableRipple
disableFocusRipple
disableTouchRipple
variant="outlined"
size="small"
sx={{
@ -558,8 +562,9 @@ export default function Shop() {
fontSize: '0.8em',
color: 'white',
'&:hover': {
transform: 'scale(1.1)',
transform: 'scale(1.02)',
},
border: 'none',
}}
onClick={() => {
checkPlayerStatus(); // обновляем онлайн-статус