Fix redundant CSS class usage and enhance toggle-field layout
Removed the unnecessary "field-full" class from toggle-field divs in TargetsPage.jsx to simplify the layout. Updated styles.css to refine the toggle-field alignment and introduced a max-width for better control of toggle-check elements.
This commit is contained in:
@@ -200,7 +200,7 @@ export function TargetsPage() {
|
|||||||
If you see "rejected SSL upgrade", switch to <code>disable</code>.
|
If you see "rejected SSL upgrade", switch to <code>disable</code>.
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<div className="field field-full toggle-field">
|
<div className="field toggle-field">
|
||||||
<label>Query Insights Source</label>
|
<label>Query Insights Source</label>
|
||||||
<label className="toggle-check">
|
<label className="toggle-check">
|
||||||
<input
|
<input
|
||||||
@@ -266,7 +266,7 @@ export function TargetsPage() {
|
|||||||
<option value="require">require</option>
|
<option value="require">require</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className="field field-full toggle-field">
|
<div className="field toggle-field">
|
||||||
<label>Query Insights Source</label>
|
<label>Query Insights Source</label>
|
||||||
<label className="toggle-check">
|
<label className="toggle-check">
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -319,6 +319,11 @@ button {
|
|||||||
|
|
||||||
.toggle-field {
|
.toggle-field {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
align-self: end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-field .toggle-check {
|
||||||
|
max-width: 520px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tips p {
|
.tips p {
|
||||||
|
|||||||
Reference in New Issue
Block a user