Fix PWA registration, font loading, and Safari slider interactions.
Configure module service worker registration, remove duplicate SW hook, correct IRANSans Black font path, and improve touch slider handling in trade and wallet forms. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -156,11 +156,26 @@
|
||||
//}
|
||||
|
||||
/* =================== Slider =================== */
|
||||
.app-touch-slider {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
touch-action: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
padding-block: 0.375rem;
|
||||
}
|
||||
|
||||
.ant-slider {
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.ant-slider-track {
|
||||
background-color: @App-primary-color !important;
|
||||
}
|
||||
.ant-slider-handle {
|
||||
border-color: @App-primary-color !important;
|
||||
touch-action: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
/* =================== Menu =================== */
|
||||
|
||||
@@ -30,14 +30,14 @@
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff");
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_primary.woff2") format("woff");
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Black.woff2") format("woff2");
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user