From 32538ec5537d58497937b4a2458991d516233749 Mon Sep 17 00:00:00 2001 From: Aleksy Date: Tue, 15 Oct 2024 17:17:01 +0200 Subject: [PATCH] fixed cloud svg icons to light blue one --- .../Dashboard/DatabaseConnection/index.tsx | 3 ++- .../Dashboard/SelectDatabase/index.tsx | 4 ++++ .../src/components/SvgIcon/svg/cloud-sql.svg | 19 +------------------ 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/dqops/src/main/frontend/src/components/Dashboard/DatabaseConnection/index.tsx b/dqops/src/main/frontend/src/components/Dashboard/DatabaseConnection/index.tsx index da0dd5f782..5c6da3d236 100644 --- a/dqops/src/main/frontend/src/components/Dashboard/DatabaseConnection/index.tsx +++ b/dqops/src/main/frontend/src/components/Dashboard/DatabaseConnection/index.tsx @@ -198,7 +198,8 @@ const DatabaseConnection = ({ className={clsx( 'mb-3 w-20 text-blue-500', nameOfDatabase === 'Spark' && 'w-35', - nameOfDatabase === 'Trino' && 'max-w-11' + nameOfDatabase === 'Trino' && 'max-w-11', + nameOfDatabase.includes('Cloud SQL for ') && 'w-18' )} /> ); diff --git a/dqops/src/main/frontend/src/components/Dashboard/SelectDatabase/index.tsx b/dqops/src/main/frontend/src/components/Dashboard/SelectDatabase/index.tsx index af5bccafcd..4ec8f83958 100644 --- a/dqops/src/main/frontend/src/components/Dashboard/SelectDatabase/index.tsx +++ b/dqops/src/main/frontend/src/components/Dashboard/SelectDatabase/index.tsx @@ -58,6 +58,10 @@ const SelectDatabase = ({ onSelect }: ISelectDatabaseProps) => { className={clsx( 'mb-3 text-blue-500', option.name === 'Spark' && 'w-30', + (option.iconName === 'cloudsqlformysql' || + option.iconName === 'cloudsqlforpostgresql' || + option.iconName === 'cloudsqlforsqlserver') && + 'w-18', option.iconName === 'perconaserverformysql' && 'w-20' )} /> diff --git a/dqops/src/main/frontend/src/components/SvgIcon/svg/cloud-sql.svg b/dqops/src/main/frontend/src/components/SvgIcon/svg/cloud-sql.svg index bfc3988acb..29ca887fcb 100644 --- a/dqops/src/main/frontend/src/components/SvgIcon/svg/cloud-sql.svg +++ b/dqops/src/main/frontend/src/components/SvgIcon/svg/cloud-sql.svg @@ -1,18 +1 @@ - - - - - - - - - - - - - - - - - - + \ No newline at end of file