App Settings Page: Styling fixes (#5453)

This commit is contained in:
RachelElysia 2022-04-29 14:00:25 -04:00 committed by GitHub
parent d3270e84cd
commit 390ea4d82f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -177,6 +177,10 @@
.app-config-form__section-description {
width: initial;
}
h2 {
max-width: initial;
}
}
&__inputs {
@ -193,12 +197,16 @@
margin: 0 0 $pad-medium;
.form-field {
width: 18%;
width: 29%;
float: right;
&:first-child {
float: left;
width: 78%;
width: 69%;
}
&:nth-child(2) {
padding-top: 10px;
}
&--checkbox {

View file

@ -64,8 +64,8 @@ const Agents = ({
return (
<form className={baseClass} onSubmit={onFormSubmit} autoComplete="off">
<div className={`${baseClass}__section`}>
<h2>Global agent options</h2>
<div className={`${baseClass}__yaml`}>
<h2>Global agent options</h2>
<p className={`${baseClass}__section-description`}>
This code will be used by osquery when it checks for configuration
options.