diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/NewDashboardModal.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/NewDashboardModal.tsx index 79b26d019..5c975a9d1 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/NewDashboardModal.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/NewDashboardModal.tsx @@ -2,6 +2,7 @@ import React, {useEffect} from 'react'; import {Modal} from 'antd'; import SelectCard from './SelectCard'; import CreateCard from "Components/Dashboard/components/DashboardList/NewDashModal/CreateCard"; +import colors from "tailwindcss/colors"; interface NewDashboardModalProps { onClose: () => void; @@ -25,28 +26,35 @@ const NewDashboardModal: React.FC = ({ return ( <> - -
-
- {step === 0 && setStep(step + 1)} - isLibrary={isAddingFromLibrary}/>} - {step === 1 && setStep(0)}/>} -
+ +
+ {step === 0 && setStep(step + 1)} + isLibrary={isAddingFromLibrary}/>} + {step === 1 && setStep(0)}/>}
- ); + ) + ; }; export default NewDashboardModal; diff --git a/frontend/app/styles/general.css b/frontend/app/styles/general.css index 5332c0533..5c1f77172 100644 --- a/frontend/app/styles/general.css +++ b/frontend/app/styles/general.css @@ -412,14 +412,6 @@ p { background-color: #E6E9FA; } - -.chooseDashboardCards .ant-modal-content{ - background-color: #efefef; - border-radius: 0.75rem; - max-height: 700px; - overflow: hidden; -} - .dashboardDataPeriodSelector .dashboardMoreOptionsLabel{ display: none; -} \ No newline at end of file +}