diff --git a/src/App.css b/src/App.css index 52f780d..e6a8bf0 100644 --- a/src/App.css +++ b/src/App.css @@ -7,6 +7,9 @@ height: 100vh; max-width: 100vw !important; } +.MuiFormLabel-asterisk { + color: red !important; +} @font-face { font-family: numeralMedium; src: url(assets/IRANSans/Farsi_numerals/IRANSans\(FaNum\)_Medium.ttf); diff --git a/src/views/AR/index.scss b/src/views/AR/index.scss index b0daf8b..3899820 100644 --- a/src/views/AR/index.scss +++ b/src/views/AR/index.scss @@ -32,7 +32,7 @@ img { border-radius: 0.5rem; max-height: 210px; - width: fit-content; + width: auto; margin: 0 auto; } text-decoration: none !important; diff --git a/src/views/Auth/Profile/Input/index.js b/src/views/Auth/Profile/Input/index.js index bca3634..f914ec1 100644 --- a/src/views/Auth/Profile/Input/index.js +++ b/src/views/Auth/Profile/Input/index.js @@ -30,6 +30,7 @@ export default function FormPropsTextFields(props) { variant={variant || "outlined"} onChange={(e) => parent.onChange(e.target.name, e.target.value)} defaultValue={defaultValue[props.name] || ""} + required={props.required} inputProps={{ maxLength }} onInput={ onInput diff --git a/src/views/Auth/Profile/Upload/index.js b/src/views/Auth/Profile/Upload/index.js index 86a3e0c..f74c7ec 100644 --- a/src/views/Auth/Profile/Upload/index.js +++ b/src/views/Auth/Profile/Upload/index.js @@ -8,7 +8,7 @@ export default function Upload(props) { {window.innerWidth < 1000 ? (
<> - {parent.state.file === null ? ( + {isNaN(+parent.state.file) ? ( @@ -19,7 +19,7 @@ export default function Upload(props) { ? URL.createObjectURL(parent.state.file) : window.baseURL + "file/" + parent.state.file } - alt={"کاربر"} + alt={""} /> )}

- لطفا مشحصات خود را به صورت کامل وارد نمایید + لطفا مشخصات خود را به صورت کامل وارد نمایید

@@ -421,6 +421,7 @@ class Profile extends Component { parent={this} defaultValue={profile} onInput={onInput.persianOnly} + required />
-

{data.title}

+

+ {data.title} + + {data.subTitle ? ( +

{data.subTitle}

+ ) : null} +

); diff --git a/src/views/Support/index.js b/src/views/Support/index.js index 963839b..764df88 100644 --- a/src/views/Support/index.js +++ b/src/views/Support/index.js @@ -104,7 +104,7 @@ class Support extends Component {