fix: skill panel auto-open, thinking scroll, nav icon alignment, Safari zoom — closes #643 #638 #636 #630 (PR #647)

Four self-contained CSS/JS fixes: skill click auto-opens workspace panel (ensureWorkspacePreviewVisible before api call), thinking card body scrolls when open (overflow-y:auto), nav tab icons properly centered (display:flex), Safari iOS zoom prevented (textarea 14px->16px). Independent review by @nesquena confirmed all four correct.
This commit is contained in:
nesquena-hermes
2026-04-17 23:50:14 -07:00
committed by GitHub
parent ec48c482e2
commit 8c68ea8823
4 changed files with 15 additions and 5 deletions

View File

@@ -405,6 +405,8 @@ async function openSkill(name, el) {
// Highlight active skill
document.querySelectorAll('.skill-item').forEach(e => e.classList.remove('active'));
if (el) el.classList.add('active');
// Ensure the workspace panel is open so the skill content is actually visible (#643)
if (typeof ensureWorkspacePreviewVisible === 'function') ensureWorkspacePreviewVisible();
try {
const data = await api(`/api/skills/content?name=${encodeURIComponent(name)}`);
// Show skill content in right panel preview