Address inconsistencies between new query and policy pages (#34329)

This commit is contained in:
Luke Heath 2025-10-15 21:32:54 -05:00 committed by GitHub
parent 50ff9249c4
commit 7c50d1acc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 25 deletions

View file

@ -403,10 +403,10 @@ const PolicyForm = ({
return (
<div className={`${baseClass}__sql-editor-label-actions`}>
{showOpenSchemaActionText && (
<Button variant="inverse" onClick={onOpenSchemaSidebar} size="small">
<Button variant="inverse" onClick={onOpenSchemaSidebar}>
<>
Schema
<Icon name="info" size="small" />
<Icon name="info" />
</>
</Button>
)}

View file

@ -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;