update src/components/Datepicker/DateRangePicker/index.js, src/components/FileManager/index.js and data.js

master
mahdi 2 years ago
parent 05b0b70328
commit adaef68c8e
  1. 6
      src/components/Datepicker/DateRangePicker/index.js
  2. 2
      src/components/FileManager/index.js
  3. 11
      src/redux/data.js

@ -24,16 +24,14 @@ function CustomRangeInput({ openCalendar, value }) {
return (
<div className="flex flex-row items-center justify-center mt-3">
<input
style={{ width: "45%" }}
className="py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1"
className="w-[45%] py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1"
onFocus={openCalendar}
value={value[0]}
readOnly
/>
<p className="mx-2 text-sm">تا</p>
<input
style={{ width: "45%" }}
className="py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1"
className="w-[45%] py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1"
onFocus={openCalendar}
value={value[1]}
readOnly

@ -73,7 +73,7 @@ const FileManager = ({ buttons }) => {
<div className="w-3/12 py-5 flex flex-col">
<TitleSubtitle subTitle={false} titleBorderClassName={""} />
<SemiDonut />
<div className="px-4" style={{ marginTop: "-113px" }}>
<div className="px-4 mt-[-113px]">
<TitleSubtitle subTitle={false} titleBorderClassName={""} />
<div className="flex flex-col items-center justify-center">
{/* {[0, 1, 2].map((item, index) => (

@ -40,7 +40,6 @@ import AnimatedInput from "../components/AnimatedInput/Input";
import BoxNextToEachOther from "../components/BoxNextToEachOther";
import ContactUs from "../components/ContactUs";
import CurrentDateTime from "../components/CurrentDateTime";
import Digikala from "../components/Digikala";
import DivideX from "../components/DivideX";
import FileManager from "../components/FileManager";
import FormFields from "../components/FormFields";
@ -674,16 +673,6 @@ const components = [
code: null,
},
},
{
name: "Digikala",
author: "Andalib",
props: [],
content: {
name: "Digikala",
component: <Digikala />,
code: null,
},
},
{
name: "DivideX",
author: "Andalib",

Loading…
Cancel
Save