diff --git a/pkgs/router-webui/static/style.css b/pkgs/router-webui/static/style.css index 5ac4fa8..a827cfd 100644 --- a/pkgs/router-webui/static/style.css +++ b/pkgs/router-webui/static/style.css @@ -85,7 +85,7 @@ input, select, textarea, button { font: inherit; color: var(--fg); background: v input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--fg) 30%, var(--line)); } input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); } input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 65%, transparent); } -textarea[rows] { height: min(calc(1.45em * var(--rows, 30)), 65vh); } +textarea[rows="30"] { height: min(44rem, 65vh); } textarea { width: 100%; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; } .narrow { max-width: 24rem; display: flex; flex-direction: column; gap: .8rem; } .narrow label { margin: 0; }