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

master
mahdi 3 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 ( return (
<div className="flex flex-row items-center justify-center mt-3"> <div className="flex flex-row items-center justify-center mt-3">
<input <input
style={{ width: "45%" }} 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"
className="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} onFocus={openCalendar}
value={value[0]} value={value[0]}
readOnly readOnly
/> />
<p className="mx-2 text-sm">تا</p> <p className="mx-2 text-sm">تا</p>
<input <input
style={{ width: "45%" }} 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"
className="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} onFocus={openCalendar}
value={value[1]} value={value[1]}
readOnly readOnly

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

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

Loading…
Cancel
Save