Skip to content

Commit cd71857

Browse files
fix: pin menu description to bottom of menu for stable layout
Move the selected item's description from inline (below each item) to a fixed position at the bottom. Eliminates layout reflow when navigating between items of different description lengths. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2de7ebd commit cd71857

File tree

3 files changed

+1015
-0
lines changed

3 files changed

+1015
-0
lines changed

livedoc2.cmd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@echo off
2+
setlocal EnableExtensions
3+
4+
REM Livedoc2 Launcher
5+
REM Generated by project-menu skill. Customize freely.
6+
7+
pushd "%~dp0" >nul
8+
9+
REM Prefer pwsh (PowerShell 7+) for better terminal support.
10+
where pwsh >nul 2>&1
11+
if %errorlevel% equ 0 (
12+
pwsh -NoProfile -ExecutionPolicy Bypass -File "%~dp0livedoc2.ps1" %*
13+
) else (
14+
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0livedoc2.ps1" %*
15+
)
16+
set "exitCode=%errorlevel%"
17+
18+
popd >nul
19+
endlocal & exit /b %exitCode%
20+

0 commit comments

Comments
 (0)