Исправление двойного скролла (3.14.1)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 47s

This commit is contained in:
poignatov
2026-01-14 17:55:10 +03:00
parent f13838d91a
commit 1f423e1ed3
3 changed files with 9 additions and 6 deletions

View File

@@ -1 +1 @@
3.14.0 3.14.1

View File

@@ -1,6 +1,6 @@
{ {
"name": "play-life-web", "name": "play-life-web",
"version": "3.14.0", "version": "3.14.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -6,13 +6,15 @@ html {
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 100%; height: 100%;
overflow: hidden;
} }
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
min-height: 100%; height: 100%;
min-height: 100dvh; height: 100dvh;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif; sans-serif;
@@ -22,8 +24,9 @@ body {
} }
#root { #root {
min-height: 100vh; height: 100vh;
min-height: 100dvh; /* Dynamic viewport height для мобильных устройств */ height: 100dvh; /* Dynamic viewport height для мобильных устройств */
overflow: hidden;
background: #f3f4f6; background: #f3f4f6;
background-attachment: fixed; background-attachment: fixed;
display: flex; display: flex;