diff --git a/VERSION b/VERSION index d4e6cb4..ff61e18 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.12.0 +6.12.1 diff --git a/play-life-web/package.json b/play-life-web/package.json index 251c79a..223014e 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "6.12.0", + "version": "6.12.1", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/LoadingError.css b/play-life-web/src/components/LoadingError.css index 392b61f..f7e0915 100644 --- a/play-life-web/src/components/LoadingError.css +++ b/play-life-web/src/components/LoadingError.css @@ -1,28 +1,11 @@ .loading-error-container { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 80px; /* Отступ для нижнего бара */ - display: flex; - justify-content: center; - align-items: center; - padding: 1rem; -} - -/* Учитываем safe-area для мобильных устройств */ -@supports (padding-bottom: env(safe-area-inset-bottom)) { - .loading-error-container { - bottom: calc(80px + env(safe-area-inset-bottom, 0px)); - } + padding: 0.5rem 0; } .loading-error-content { display: flex; flex-direction: column; - align-items: center; - text-align: center; - gap: 1rem; + gap: 0.75rem; } .loading-error-text { @@ -32,6 +15,7 @@ } .loading-error-button { + width: 100%; padding: 0.75rem 1.5rem; background: linear-gradient(to right, #4f46e5, #9333ea); color: white; diff --git a/play-life-web/src/components/LoadingError.jsx b/play-life-web/src/components/LoadingError.jsx index 1cb2917..ac26874 100644 --- a/play-life-web/src/components/LoadingError.jsx +++ b/play-life-web/src/components/LoadingError.jsx @@ -5,7 +5,6 @@ function LoadingError({ onRetry }) { return (
-
Ошибка, повторите позже
{onRetry && (