diff --git a/app/component/TimePickerField.js b/app/component/TimePickerField.js index a34b0b9..bee4b90 100644 --- a/app/component/TimePickerField.js +++ b/app/component/TimePickerField.js @@ -14,7 +14,7 @@ function TimePickerField({ const [value, setValue] = useState("00:00"); return ( -
+
+

{data[name]} diff --git a/app/globals.css b/app/globals.css index 2062ff2..fbcd0c2 100644 --- a/app/globals.css +++ b/app/globals.css @@ -235,6 +235,13 @@ html { font-weight: 700; } +@media (min-width: 768px) { + .MuiModal-root .MuiBox-root { + max-height: calc(100vh - 48px) !important; + overflow: auto !important; + } +} + @keyframes openx { 0% { width: 0; @@ -668,6 +675,12 @@ html { width: 300px !important; } +@media (max-width: 768px) { + .panel-jalaali { + width: 300px !important; + } +} + .day-label-bar, .panel-header-inner, .days-body { @@ -723,3 +736,7 @@ html { font-weight: 400 !important; color: #a1a1a1 !important; } + +.dark .field-date-picker svg path { + fill: #a1a1a1; +} diff --git a/app/theme/theme.js b/app/theme/theme.js index 63a193c..abc6f83 100644 --- a/app/theme/theme.js +++ b/app/theme/theme.js @@ -24,7 +24,7 @@ const theme = createTheme({ styleOverrides: { root: { "& .MuiBox-root": { - maxHeight: "calc(100vh - 48px)", + // maxHeight: { lg: "calc(100vh - 48px)" }, overflow: "auto", }, }, diff --git a/components/doctor/detailDoctor/cards/comments/modal/ModalAnswer.js b/components/doctor/detailDoctor/cards/comments/modal/ModalAnswer.js index 5500194..6771012 100644 --- a/components/doctor/detailDoctor/cards/comments/modal/ModalAnswer.js +++ b/components/doctor/detailDoctor/cards/comments/modal/ModalAnswer.js @@ -27,21 +27,23 @@ function ModalAnswer({ doctor }) { -

- +
+

+ امتیاز شما به دکتر مهران امینی +

+
+ +
-

امتیاز شما به دکتر مهران امینی

diff --git a/components/panel/addDoctor/listMenu/specialDays/Form.js b/components/panel/addDoctor/listMenu/specialDays/Form.js index 7de3e13..e90fdab 100644 --- a/components/panel/addDoctor/listMenu/specialDays/Form.js +++ b/components/panel/addDoctor/listMenu/specialDays/Form.js @@ -39,7 +39,6 @@ function Form() { return hourSelected + 1 > hours; } }; - // console.log(data); return (
diff --git a/components/panel/userAccount/index.js b/components/panel/userAccount/index.js index 5d56d8e..fb629e4 100644 --- a/components/panel/userAccount/index.js +++ b/components/panel/userAccount/index.js @@ -7,7 +7,7 @@ function UserAccountPage({ data }) { className=" opacity-page rounded-[8px] bg-transparent md:bg-[#FFF] shadow-none md:shadow-[0px_1px_24.8px_0px_rgba(204,204,204,0.18)] py-0 md:py-[16px] lg:py-[32px] - px-0 sm:px-[14px] md:px-[24px] lg:px-[44px] xl:px-[112px] dark:shadow-[0px_4px_25px_10px_#1F1D2B] dark:bg-[#222433] + px-0 sm:px-[14px] md:px-[24px] lg:px-[44px] xl:px-[112px] dark:shadow-[0px_4px_25px_10px_#1F1D2B] dark:bg-transparent md:dark:bg-[#222433] " >