tablet height

This commit is contained in:
Zakhar 2026-09-06 09:30:32 +03:00
parent 259dec1df6
commit 673802f304
3 changed files with 13 additions and 4 deletions

View File

@ -336,7 +336,7 @@ const Container = styled.main<{$fullHeight: boolean}>`
display: flex;
width: calc(100% - 40px);
max-width: 1228px;
height: 90vh;
height: 90dvh;
margin: 40px auto 0;
background: ${({ theme }) => theme.colors.white};
border-radius: ${({ theme }) => theme.radius.page};
@ -345,7 +345,8 @@ const Container = styled.main<{$fullHeight: boolean}>`
@media (max-width: 900px) {
//flex-direction: column;
height: 90vh;
height: 100dvh;
margin: 0;
}
${({ theme }) => theme.media.mobile(css<{$fullHeight: boolean}>`

View File

@ -67,7 +67,7 @@
#page_autobasket {}
#page_autobasket_content {display: flex;flex-direction: column;gap: 64px;}
#page_autobasket_content_description {text-align: center;}
#page_autobasket_content_description {text-align: center;max-width: 1000px;}
#page_autobasket_content_description p {font-size: 24px;color: #4e7067;}
#page_autobasket_images {display: flex;flex-direction: row;gap: 20px;justify-content: center;}
#page_autobasket_images div {display: flex;flex-direction: column; gap: 16px;max-width: 387px;text-align: center;align-items: center;}
@ -303,6 +303,7 @@
<h2>Автокорзина</h2>
<p>Вы выбираете, сколько человек в семье, <wbr/>указываете, на сколько дней нужны <wbr/> <span class="nobreak">продукты — и приложение</span> мгновенно <br class="small"/>собирает корзину с учётом порций.
<br> На выходе — <span class="nobreak">чёткий список покупок</span>, <br class="small" />разбитый по отделам магазина</p>
<a href="https://hvatilo.ru/auto_cart.html">Попробовать</a>
</div>
<div id="page_autobasket_images">
<div>
@ -414,7 +415,7 @@
<div id="bottom_contacts_big">&copy; 2026 &mdash; <a href="mailto:info@hvatilo.ru">info@hvatilo.ru</a> <br></div>
</div>
<div>
<a href="https://hvatilo.ru/app/offer" target="_blank">Пользовательское соглашение</a>
<a href="https://hvatilo.ru/land/cookies_and_recommendations.html" target="_blank">Политика конфиденциальности</a>
</div>
<div id="bottom_contacts_small">&copy; 2026 <br>
<!--ООО &laquo;Дорфан&raquo;-->

View File

@ -2,6 +2,7 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import fs from 'node:fs';
import JavascriptObfuscator from "javascript-obfuscator";
import lib from "@minify-html/node";
export default defineConfig(({mode}) => ({
plugins: [
@ -27,6 +28,12 @@ export default defineConfig(({mode}) => ({
fs.writeFileSync('autocart.js', JavascriptObfuscator.obfuscate(fs.readFileSync('dist/autocart.js').toString()
.replace('https://local.hvatilo.ru:8055', 'https://hvatilo.ru')
).getObfuscatedCode());
fs.writeFileSync('index.html', lib.minify(fs.readFileSync('src_static/index.html'), {
minify_css: true,
minify_js: true,
keep_comments: false,
keep_ssi_comments: false,
}));
},
},
],