ux(ssh): drop the redundant paste-key hint, equalise the two cards

Remove the "Paste a public key…" line (the section description already
explains it) and stretch the Login / Add-a-key cards to equal height
(.ssh-cols align-items: start -> stretch).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
librelad 2026-05-29 01:32:54 +01:00
parent 462fedf257
commit b6fa9317bd
2 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,7 @@
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 16px; gap: 16px;
align-items: start; align-items: stretch;
} }
@media (max-width: 640px) { @media (max-width: 640px) {
.ssh-cols { grid-template-columns: 1fr; } .ssh-cols { grid-template-columns: 1fr; }

View File

@ -100,7 +100,6 @@ class SshPage {
const addInner = ` const addInner = `
<div class="ssh-section-body"> <div class="ssh-section-body">
<p class="category-description">Paste a <strong>public</strong> key (the <code>.pub</code> from your machine) to grant it SSH access.</p>
<textarea class="backup-ssh-keyinput" id="ssh-add-key-input" rows="3" spellcheck="false" placeholder="ssh-ed25519 AAAA... you@laptop"></textarea> <textarea class="backup-ssh-keyinput" id="ssh-add-key-input" rows="3" spellcheck="false" placeholder="ssh-ed25519 AAAA... you@laptop"></textarea>
<div class="ssh-section-actions"> <div class="ssh-section-actions">
<button type="button" class="backup-primary-btn" data-action="ssh-add-key">Authorize key</button> <button type="button" class="backup-primary-btn" data-action="ssh-add-key">Authorize key</button>