mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
fix(ume): keep key-alert monitor toggle on one line
Use inline-flex layout for the enabled checkbox so the label no longer wraps to a second row. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
17270a26b6
commit
d5d6d4eada
1 changed files with 2 additions and 2 deletions
|
|
@ -824,8 +824,8 @@ export function UmePage() {
|
|||
<tbody>
|
||||
{keyAlertRules.map((rule) => (
|
||||
<tr key={rule.notification_id} className={rule.enabled ? undefined : "row--muted"}>
|
||||
<td>
|
||||
<label className="checkbox-inline">
|
||||
<td style={{ whiteSpace: "nowrap" }}>
|
||||
<label style={{ display: "inline-flex", alignItems: "center", gap: 6 }}>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={Boolean(rule.enabled)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue