Simplify system settings layout
This commit is contained in:
@@ -41,11 +41,10 @@ export default function SystemTab({ snapshot, onSaveSystem }: SystemTabProps) {
|
||||
|
||||
return (
|
||||
<form className="system-editor" onSubmit={handleSubmit}>
|
||||
<section className="page-grid system-grid">
|
||||
<article className="panel-card">
|
||||
<section className="page-grid single-column system-grid">
|
||||
<article className="panel-card system-settings-card">
|
||||
<div className="card-header">
|
||||
<h2>Runtime</h2>
|
||||
<span className="status-pill idle">editable</span>
|
||||
<h2>Panel settings</h2>
|
||||
</div>
|
||||
<div className="system-fields">
|
||||
<label className="field-group">
|
||||
@@ -78,8 +77,8 @@ export default function SystemTab({ snapshot, onSaveSystem }: SystemTabProps) {
|
||||
</label>
|
||||
</div>
|
||||
<p className="system-hint">
|
||||
Saving writes a new generated config and keeps existing user assignments on enabled assignable
|
||||
services only.
|
||||
These values describe how the panel generates and reloads the 3proxy config. Saving keeps
|
||||
existing users attached only to enabled assignable services.
|
||||
</p>
|
||||
</article>
|
||||
|
||||
|
||||
@@ -546,6 +546,10 @@ tbody tr:last-child td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.system-settings-card {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.system-fields,
|
||||
.service-editor-grid {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user