From 22f46f5bf4356d538ceb9c1be896d6fc7344bd98 Mon Sep 17 00:00:00 2001 From: Gabriel Hernandez Date: Tue, 23 Jul 2024 13:01:18 +0100 Subject: [PATCH] max height on textareas for install details modal --- .../InstallDetails/AppInstallDetails/AppInstallDetails.tsx | 5 +---- .../InstallDetails/AppInstallDetails/_styles.scss | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/AppInstallDetails.tsx b/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/AppInstallDetails.tsx index 25a10d979d..c4991f0fd7 100644 --- a/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/AppInstallDetails.tsx +++ b/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/AppInstallDetails.tsx @@ -1,10 +1,7 @@ import React from "react"; import { useQuery } from "react-query"; -import { - SoftwareInstallStatus, - getInstallStatusPredicate, -} from "interfaces/software"; +import { SoftwareInstallStatus } from "interfaces/software"; import mdmApi from "services/entities/mdm"; import Modal from "components/Modal"; diff --git a/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/_styles.scss b/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/_styles.scss index 3d2f7d57d4..2de4b0386e 100644 --- a/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/_styles.scss +++ b/frontend/components/ActivityDetails/InstallDetails/AppInstallDetails/_styles.scss @@ -19,4 +19,9 @@ overflow-wrap: break-word; } } + + &__output-textarea { + max-height: 300px; + overflow-y: auto; + } }