From 2cf41c9e0d17bef5592e8673b2b19d74b912b27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Mon, 11 Sep 2023 08:57:56 +0200 Subject: [PATCH] minor styling --- .../project/sidebar/project/scenarios-list/index.tsx | 11 ++++++----- .../sidebar/scenario/solutions/overview/index.tsx | 10 ++++------ app/svgs/ui/table.svg | 3 --- 3 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 app/svgs/ui/table.svg diff --git a/app/layout/project/sidebar/project/scenarios-list/index.tsx b/app/layout/project/sidebar/project/scenarios-list/index.tsx index 8643780753..7febd4d3c0 100644 --- a/app/layout/project/sidebar/project/scenarios-list/index.tsx +++ b/app/layout/project/sidebar/project/scenarios-list/index.tsx @@ -29,6 +29,7 @@ import { ScrollArea } from 'components/scroll-area'; import HelpBeacon from 'layout/help/beacon'; import NoResults from 'layout/project/sidebar/project/inventory-panel/components/no-results'; import ScenarioToolbar from 'layout/project/sidebar/project/scenarios-list/toolbar'; +import Section from 'layout/section'; import { cn } from 'utils/cn'; import bgScenariosDashboard from 'images/new-layout/bg-scenarios-dashboard.png'; @@ -350,12 +351,12 @@ export const ScenariosList: React.FC = () => { )} {(hasScenarios || search || hasFilters) && ( -
+
{hasScenarios && ( )} -
+ )} diff --git a/app/layout/project/sidebar/scenario/solutions/overview/index.tsx b/app/layout/project/sidebar/scenario/solutions/overview/index.tsx index 9cd447dd05..131e500a1a 100644 --- a/app/layout/project/sidebar/scenario/solutions/overview/index.tsx +++ b/app/layout/project/sidebar/scenario/solutions/overview/index.tsx @@ -7,6 +7,7 @@ import { useRouter } from 'next/router'; import { getScenarioEditSlice } from 'store/slices/scenarios/edit'; import { motion } from 'framer-motion'; +import { HiOutlineTable } from 'react-icons/hi'; import { useProject } from 'hooks/projects'; import { useScenario, useDownloadScenarioReport } from 'hooks/scenarios'; @@ -14,15 +15,12 @@ import { useSolution, useBestSolution } from 'hooks/solutions'; import { useToasts } from 'hooks/toast'; import Button from 'components/button'; -import Icon from 'components/icon'; import Loading from 'components/loading'; import Modal from 'components/modal'; import Section from 'layout/section'; import SolutionSelected from 'layout/solutions/selected'; import { formatFileName } from 'utils/units'; -import TABLE_SVG from 'svgs/ui/table.svg?sprite'; - import SolutionsTableForm from './table/table-form/component'; export const SolutionsOverview = (): JSX.Element => { @@ -179,7 +177,7 @@ export const SolutionsOverview = (): JSX.Element => { - -