mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Address inconsistencies between new query and policy pages (#34329)
This commit is contained in:
parent
50ff9249c4
commit
7c50d1acc7
2 changed files with 3 additions and 25 deletions
|
|
@ -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>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue