From 7c50d1acc7bb8ff130a1993988b076a1dbf9078e Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Wed, 15 Oct 2025 21:32:54 -0500 Subject: [PATCH] Address inconsistencies between new query and policy pages (#34329) --- .../components/PolicyForm/PolicyForm.tsx | 4 ++-- .../components/PolicyForm/_styles.scss | 24 +------------------ 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/frontend/pages/policies/PolicyPage/components/PolicyForm/PolicyForm.tsx b/frontend/pages/policies/PolicyPage/components/PolicyForm/PolicyForm.tsx index c34bea4085..a34e130f08 100644 --- a/frontend/pages/policies/PolicyPage/components/PolicyForm/PolicyForm.tsx +++ b/frontend/pages/policies/PolicyPage/components/PolicyForm/PolicyForm.tsx @@ -403,10 +403,10 @@ const PolicyForm = ({ return (
{showOpenSchemaActionText && ( - )} diff --git a/frontend/pages/policies/PolicyPage/components/PolicyForm/_styles.scss b/frontend/pages/policies/PolicyPage/components/PolicyForm/_styles.scss index d0b45230ff..b3d107902c 100644 --- a/frontend/pages/policies/PolicyPage/components/PolicyForm/_styles.scss +++ b/frontend/pages/policies/PolicyPage/components/PolicyForm/_styles.scss @@ -23,24 +23,6 @@ gap: $pad-large; } - &__policy-name { - color: $core-fleet-black; - font-size: $large; - line-height: $line-height-large; - - // Future iteration: move size="large" into AutoSizeInputField isntead of styling here - .policy-form__policy-name, - .input-sizer::after { - font-size: $large; - line-height: $line-height-large; - } - - .component__auto-size-input-field { - font-size: $large; - line-height: $line-height-large; - } - } - &__author { align-items: right; @@ -180,6 +162,7 @@ &__sql-editor-label-actions { display: flex; gap: $pad-medium; + padding-bottom: 2px; } &__platform-checkbox-wrapper { @@ -239,11 +222,6 @@ } } - &__sql-editor-label-actions { - display: flex; - gap: $pad-large; - } - &__critical-checkbox-wrapper { // override form child width: 100% width: auto;