diff --git a/frontend/pages/hosts/details/HostDetailsPage/modals/SelectQueryModal/_styles.scss b/frontend/pages/hosts/details/HostDetailsPage/modals/SelectQueryModal/_styles.scss index 585b916ef8..f2736bf14b 100644 --- a/frontend/pages/hosts/details/HostDetailsPage/modals/SelectQueryModal/_styles.scss +++ b/frontend/pages/hosts/details/HostDetailsPage/modals/SelectQueryModal/_styles.scss @@ -1,14 +1,25 @@ +// Similar to AddPolicyModal .select-query-modal { min-height: 400px; - height: 80%; + height: 90%; overflow: hidden; + .modal__content-wrapper { + height: 95%; + } + .modal__content { display: flex; flex-direction: column; gap: $pad-large; - height: 80%; - overflow: auto; + height: 100%; + } + + &__query-selection { + overflow-y: auto; + .children-wrapper { + width: 680px; + } } &__no-queries { @@ -31,10 +42,4 @@ font-weight: $bold; } } - - &__query-selection { - .children-wrapper { - width: 680px; - } - } } diff --git a/frontend/pages/policies/ManagePoliciesPage/components/AddPolicyModal/_styles.scss b/frontend/pages/policies/ManagePoliciesPage/components/AddPolicyModal/_styles.scss index c134d42992..2257d1cac4 100644 --- a/frontend/pages/policies/ManagePoliciesPage/components/AddPolicyModal/_styles.scss +++ b/frontend/pages/policies/ManagePoliciesPage/components/AddPolicyModal/_styles.scss @@ -1,3 +1,4 @@ +// Similar to SelectQueryModal .add-policy-modal { height: 90%; overflow: hidden;