From 6cbeb919242793582733e29741b8fad190f8569c Mon Sep 17 00:00:00 2001 From: A1Gard Date: Fri, 18 Oct 2024 06:22:10 +0330 Subject: [PATCH] fixed ios ui bug horizontal scroll --- resources/sass/client-custom/_general.scss | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/resources/sass/client-custom/_general.scss b/resources/sass/client-custom/_general.scss index d476e44..7b87c7b 100644 --- a/resources/sass/client-custom/_general.scss +++ b/resources/sass/client-custom/_general.scss @@ -29,7 +29,20 @@ html { body { background: var(--xshop-background); color: var(--xshop-text); - overflow-x: hidden; +} + +html, body { + overscroll-behavior-x: none; + max-width: 100% !important; + overflow-x: hidden !important; + zoom: 0; + position: relative; +} + +main{ + -webkit-overflow-scrolling: touch; + overflow-x: hidden !important; + width: 100%; }