diff --git a/frontend/src/pages/TargetsPage.jsx b/frontend/src/pages/TargetsPage.jsx
index 15890aa..4b962d0 100644
--- a/frontend/src/pages/TargetsPage.jsx
+++ b/frontend/src/pages/TargetsPage.jsx
@@ -70,7 +70,6 @@ export function TargetsPage() {
New Target
-
Connection settings for a PostgreSQL instance.
v
@@ -79,32 +78,26 @@ export function TargetsPage() {
setForm({ ...form, name: e.target.value })} required />
- Unique display name in the dashboard.
setForm({ ...form, host: e.target.value })} required />
- Must be reachable from the backend container.
setForm({ ...form, port: Number(e.target.value) })} type="number" required />
- Default PostgreSQL port is 5432 (or your mapped host port).
setForm({ ...form, dbname: e.target.value })} required />
- Database name to monitor.
setForm({ ...form, username: e.target.value })} required />
- DB user with read permissions on stats views.
setForm({ ...form, password: e.target.value })} required />
- Stored encrypted in the core database.
@@ -117,8 +110,7 @@ export function TargetsPage() {
If you see "rejected SSL upgrade", switch to disable.
-
-
+
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 687fdd3..bdfb9f0 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -235,11 +235,11 @@ button {
.field {
display: grid;
- gap: 6px;
+ gap: 4px;
}
.field label {
- font-size: 13px;
+ font-size: 12px;
color: #b9c6dc;
}
@@ -260,6 +260,7 @@ button {
.target-form {
margin-top: 12px;
+ gap: 10px;
}
.primary-btn {
@@ -268,6 +269,8 @@ button {
border-color: #3384cb;
background: linear-gradient(180deg, #15528d, #114170);
box-shadow: inset 0 1px 0 #5f8de144;
+ padding: 7px 12px;
+ min-height: 38px;
}
.primary-btn:hover {