From aed2eef891ce785f46d304cb65e0014dcc4749c3 Mon Sep 17 00:00:00 2001 From: anmolsinghbhatia Date: Thu, 4 May 2023 15:12:39 +0530 Subject: [PATCH] fix: info icon fix --- .../cycles/completed-cycles-list.tsx | 6 ++++- apps/app/components/cycles/sidebar.tsx | 6 ++++- .../cycles/transfer-issues-modal.tsx | 6 ++++- .../app/components/cycles/transfer-issues.tsx | 2 +- .../app/components/icons/exclamation-icon.tsx | 22 +++++++++---------- apps/app/components/issues/attachments.tsx | 2 +- apps/app/components/modules/sidebar.tsx | 12 ++++++++-- .../pages/single-page-detailed-item.tsx | 2 +- .../pages/single-page-list-item.tsx | 2 +- 9 files changed, 40 insertions(+), 20 deletions(-) diff --git a/apps/app/components/cycles/completed-cycles-list.tsx b/apps/app/components/cycles/completed-cycles-list.tsx index bf1971368..6729ceeeb 100644 --- a/apps/app/components/cycles/completed-cycles-list.tsx +++ b/apps/app/components/cycles/completed-cycles-list.tsx @@ -65,7 +65,11 @@ export const CompletedCyclesList: React.FC = ({ completedCycles.completed_cycles.length > 0 ? (
- + Completed cycles are not editable.
diff --git a/apps/app/components/cycles/sidebar.tsx b/apps/app/components/cycles/sidebar.tsx index 863da7934..dbdb0557d 100644 --- a/apps/app/components/cycles/sidebar.tsx +++ b/apps/app/components/cycles/sidebar.tsx @@ -370,7 +370,11 @@ export const CycleDetailsSidebar: React.FC = ({ ) : (
- + {cycleStatus === "upcoming" ? "Cycle is yet to start." diff --git a/apps/app/components/cycles/transfer-issues-modal.tsx b/apps/app/components/cycles/transfer-issues-modal.tsx index 366ef67f7..c857e154e 100644 --- a/apps/app/components/cycles/transfer-issues-modal.tsx +++ b/apps/app/components/cycles/transfer-issues-modal.tsx @@ -148,7 +148,11 @@ export const TransferIssuesModal: React.FC = ({ isOpen, handleClose }) => )) ) : (
- + You don’t have any current cycle. Please create one to transfer the issues. diff --git a/apps/app/components/cycles/transfer-issues.tsx b/apps/app/components/cycles/transfer-issues.tsx index 067147bed..77b1f59f1 100644 --- a/apps/app/components/cycles/transfer-issues.tsx +++ b/apps/app/components/cycles/transfer-issues.tsx @@ -39,7 +39,7 @@ export const TransferIssues: React.FC = ({ handleClick }) => { return (
- + Completed cycles are not editable.
diff --git a/apps/app/components/icons/exclamation-icon.tsx b/apps/app/components/icons/exclamation-icon.tsx index d904263f5..243329647 100644 --- a/apps/app/components/icons/exclamation-icon.tsx +++ b/apps/app/components/icons/exclamation-icon.tsx @@ -3,14 +3,14 @@ import React from "react"; import type { Props } from "./types"; export const ExclamationIcon: React.FC = ({ width, height, className }) => ( - - - - ); + + + +); diff --git a/apps/app/components/issues/attachments.tsx b/apps/app/components/issues/attachments.tsx index 13fc0d972..7f4be47dd 100644 --- a/apps/app/components/issues/attachments.tsx +++ b/apps/app/components/issues/attachments.tsx @@ -82,7 +82,7 @@ export const IssueAttachments = () => { } uploaded on ${renderLongDateFormat(file.updated_at)}`} > - +
diff --git a/apps/app/components/modules/sidebar.tsx b/apps/app/components/modules/sidebar.tsx index 3b3076e05..e5a932608 100644 --- a/apps/app/components/modules/sidebar.tsx +++ b/apps/app/components/modules/sidebar.tsx @@ -416,7 +416,11 @@ export const ModuleDetailsSidebar: React.FC = ({ issues, module, isOpen, ) : (
- + Invalid date. Please enter valid date. @@ -488,7 +492,11 @@ export const ModuleDetailsSidebar: React.FC = ({ issues, module, isOpen, ) : (
- + No issues found. Please add issue. diff --git a/apps/app/components/pages/single-page-detailed-item.tsx b/apps/app/components/pages/single-page-detailed-item.tsx index 9c025f21d..4be70384e 100644 --- a/apps/app/components/pages/single-page-detailed-item.tsx +++ b/apps/app/components/pages/single-page-detailed-item.tsx @@ -162,7 +162,7 @@ export const SinglePageDetailedItem: React.FC = ({ } on ${renderLongDateFormat(`${page.created_at}`)}`} > - + diff --git a/apps/app/components/pages/single-page-list-item.tsx b/apps/app/components/pages/single-page-list-item.tsx index bb9589502..876d94102 100644 --- a/apps/app/components/pages/single-page-list-item.tsx +++ b/apps/app/components/pages/single-page-list-item.tsx @@ -161,7 +161,7 @@ export const SinglePageListItem: React.FC = ({ } on ${renderLongDateFormat(`${page.created_at}`)}`} > - +