diff --git a/example.env.local b/.env.local.example similarity index 93% rename from example.env.local rename to .env.local.example index ac1affe..23d5a73 100644 --- a/example.env.local +++ b/.env.local.example @@ -1,5 +1,5 @@ NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard" -NEXT_PUBLIC_API_VERSION = "2.5.0" +NEXT_PUBLIC_API_VERSION = "2.5.2" NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa" NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl" diff --git a/.gitignore b/.gitignore index 2b2856c..4692524 100644 --- a/.gitignore +++ b/.gitignore @@ -27,10 +27,12 @@ node_modules cypress/videos cypress/screenshots .next -.env* +.env.local .env .idea package-lock.json ecosystem.config.js -public/config.json \ No newline at end of file +public/config.json + +.vscode/ \ No newline at end of file diff --git a/src/layouts/MuiLayout.jsx b/src/layouts/MuiLayout.jsx index 4d81784..6bfe9c0 100644 --- a/src/layouts/MuiLayout.jsx +++ b/src/layouts/MuiLayout.jsx @@ -1,15 +1,15 @@ import NoSsrHandler from "@/core/components/NoSsrHandler"; -import {createEmotionCacheRtl} from "@/core/utils/createEmotionCache"; +import { createEmotionCacheRtl } from "@/core/utils/createEmotionCache"; import themeRtl from "@/core/utils/theme-rtl"; -import {CacheProvider} from "@emotion/react"; -import {GlobalStyles} from "@mui/material"; +import { CacheProvider } from "@emotion/react"; +import { GlobalStyles } from "@mui/material"; import CssBaseline from "@mui/material/CssBaseline"; -import {ThemeProvider} from "@mui/material/styles"; +import { ThemeProvider } from "@mui/material/styles"; import Head from "next/head"; const clientSideEmotionCacheRtl = createEmotionCacheRtl(); -const MuiLayout = ({children, isBot}) => { +const MuiLayout = ({ children, isBot }) => { const emotionCache = clientSideEmotionCacheRtl; const theme = themeRtl; @@ -17,7 +17,7 @@ const MuiLayout = ({children, isBot}) => { - + { borderRadius: "3px", }, "*:not(.MuiTableContainer-root)": { - scrollbarWidth: "thin", - scrollbarColor: "transparent transparent", + scrollbarWidth: "none", }, "*": { @@ -50,12 +49,12 @@ const MuiLayout = ({children, isBot}) => { height: "4px", }, }, - " input[type='number']::-webkit-inner-spin-button,input[type='number']::-webkit-outer-spin-button " :{ - "-webkit-appearance":"none", + " input[type='number']::-webkit-inner-spin-button,input[type='number']::-webkit-outer-spin-button ": { + "-webkit-appearance": "none", margin: 0 }, - " input[type='number']" :{ - "-moz-appearance":"textfield", + " input[type='number']": { + "-moz-appearance": "textfield", }, body: { width: "100vw", @@ -68,7 +67,7 @@ const MuiLayout = ({children, isBot}) => { }} /> - + {children}