From 21598f60c5c2fd11b0f4c36063702ae988996233 Mon Sep 17 00:00:00 2001 From: Zeeshan <95434634+Zeshanxviii@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:48:09 +0530 Subject: [PATCH] Removed unnecessary code from tailwind.config and wrapped only the necessary components in PrintPreview in the ShowInvestigation file. --- .../Investigations/ShowInvestigation.tsx | 30 +++++++++---------- tailwind.config.js | 1 - 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/Components/Facility/Investigations/ShowInvestigation.tsx b/src/Components/Facility/Investigations/ShowInvestigation.tsx index 156aa09a4ac..b6a37811108 100644 --- a/src/Components/Facility/Investigations/ShowInvestigation.tsx +++ b/src/Components/Facility/Investigations/ShowInvestigation.tsx @@ -144,19 +144,19 @@ export default function ShowInvestigation(props: any) { } return ( - -
- + <> + + -
-
+ + ); } diff --git a/tailwind.config.js b/tailwind.config.js index 747bff5e9e7..31aa43878dc 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -23,7 +23,6 @@ module.exports = { vs: "348px", ...defaultTheme.screens, "3xl": "1920px", - print: { raw: "print" }, }, extend: { fontFamily: {