From dbc581170c35e774956ff71b9b56d39fd7b663c2 Mon Sep 17 00:00:00 2001 From: Ajay krishna Date: Fri, 17 Jan 2025 22:44:32 +0530 Subject: [PATCH] sonar issue fix --- .../src/components/CustomComponents/TableFooter.tsx | 1 - forms-flow-theme/scss/_button.scss | 2 +- forms-flow-theme/scss/_table.scss | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/forms-flow-components/src/components/CustomComponents/TableFooter.tsx b/forms-flow-components/src/components/CustomComponents/TableFooter.tsx index 5d776865..f2262c09 100644 --- a/forms-flow-components/src/components/CustomComponents/TableFooter.tsx +++ b/forms-flow-components/src/components/CustomComponents/TableFooter.tsx @@ -3,7 +3,6 @@ import { useTranslation } from "react-i18next"; import Pagination from "react-js-pagination"; import { Dropdown } from "react-bootstrap"; import { DownArrowIcon, AngleLeftIcon, AngleRightIcon } from "../SvgIcons/index"; -import { StyleServices } from "@formsflow/service"; interface PageOption { value: number; text: string; diff --git a/forms-flow-theme/scss/_button.scss b/forms-flow-theme/scss/_button.scss index 2683578b..f300becf 100644 --- a/forms-flow-theme/scss/_button.scss +++ b/forms-flow-theme/scss/_button.scss @@ -473,7 +473,7 @@ $btn-font-weight: bold; min-width: $dropdown-btn-size !important; min-height: $dropdown-btn-size !important; margin: 0 !important; - gap: var(--spacer-075) !important;; + gap: var(--spacer-075) !important; } .dropdown-toggle { diff --git a/forms-flow-theme/scss/_table.scss b/forms-flow-theme/scss/_table.scss index e1e2a962..915ab9aa 100644 --- a/forms-flow-theme/scss/_table.scss +++ b/forms-flow-theme/scss/_table.scss @@ -8,7 +8,7 @@ $status-radius: 50%; .custom-tables-wrapper { height: auto; - max-height: calc(100vh - 4rem); + max-height: calc(100vh - 5.2rem); overflow-y: auto; overflow-x: hidden; border-radius: $tr-th-border-radius !important;