Compare commits

..

2 Commits

Author SHA1 Message Date
bbbf120c64 edit 4 2026-03-25 13:50:09 +03:30
566d871125 edit3 2026-03-25 13:06:35 +03:30
2 changed files with 12 additions and 5 deletions

View File

@@ -85,6 +85,7 @@ function App() {
slidesPerView={3} slidesPerView={3}
spaceBetween={20} spaceBetween={20}
dir="rtl" dir="rtl"
style={{ height: "100%", width: "100%" }} // اضافه کردن این خط
> >
{data?.recordset {data?.recordset
.filter((item) => item.latestPatientStatusId === 1) .filter((item) => item.latestPatientStatusId === 1)
@@ -139,6 +140,7 @@ function App() {
slidesPerView={3} slidesPerView={3}
spaceBetween={20} spaceBetween={20}
dir="rtl" dir="rtl"
style={{ height: "100%", width: "100%" }} // اضافه کردن این خط
> >
{data?.recordset {data?.recordset
.filter((item) => item.latestPatientStatusId === 2) .filter((item) => item.latestPatientStatusId === 2)
@@ -193,6 +195,7 @@ function App() {
slidesPerView={3} slidesPerView={3}
spaceBetween={20} spaceBetween={20}
dir="rtl" dir="rtl"
style={{ height: "100%", width: "100%" }} // اضافه کردن این خط
> >
{data?.recordset {data?.recordset
.filter((item) => item.latestPatientStatusId === 3) .filter((item) => item.latestPatientStatusId === 3)
@@ -247,6 +250,7 @@ function App() {
slidesPerView={3} slidesPerView={3}
spaceBetween={20} spaceBetween={20}
dir="rtl" dir="rtl"
style={{ height: "100%", width: "100%" }} // اضافه کردن این خط
> >
{data?.recordset {data?.recordset
.filter((item) => item.latestPatientStatusId === 4) .filter((item) => item.latestPatientStatusId === 4)

View File

@@ -46,7 +46,9 @@
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
* {
box-sizing: border-box;
}
body { body {
background-color: #fff; background-color: #fff;
min-height: 92vh; min-height: 92vh;
@@ -63,8 +65,9 @@ body {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-size: 2rem; font-size: 1.7rem;
padding: 0 24px; padding: 0 24px;
font-weight: bold;
} }
/* تنظیم ارتفاع کلی صفحه با کسر نوارهای تلویزیون */ /* تنظیم ارتفاع کلی صفحه با کسر نوارهای تلویزیون */
.contentBox { .contentBox {
@@ -111,12 +114,12 @@ body {
background-color: #a2a6f7; background-color: #a2a6f7;
/* جایگزین aspect-ratio برای تلویزیون */ /* جایگزین aspect-ratio برای تلویزیون */
width: 160px; width: 140px;
height: 160px; height: 140px;
text-align: center; text-align: center;
color: #373fd6; color: #373fd6;
font-size: 2rem; font-size: 1.7rem;
font-weight: bold; font-weight: bold;
/* جایگزین place-items برای تلویزیون */ /* جایگزین place-items برای تلویزیون */