|
Download task_020/instruction.md from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_020/instruction.md
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_020/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_020/instruction.md
1.21 kB
Flush sidebar-to-content layout
Fix the supplied demo layout in the root index.html, which must open directly offline. With the sidebar open, the content shell starts at its right edge. Remove the shell's 40 px left padding and do not recreate the gap through child margins or offsets.
Sidebar and composer behavior
The sidebar toggles between a visible expanded panel and a fully collapsed panel with no visible width. Keep the toggle accessible in both states. During collapse the content must not first jump right. Revealing the prompt input must not reopen a collapsed sidebar. Preserve the starter controls and hooks, including sidebar, collapse-sidebar, content-shell, main-content, show-prompt, and prompt-input. The choice of CSS classes is unrestricted.
Acceptance Checklist
- With the sidebar open, no layout gap or old left inset remains between the sidebar and the content. Content does not shift right while collapsing.
- Revealing the composer leaves a collapsed sidebar closed.
- At both 360 px and 960 px, the sidebar can repeatedly expand and collapse, and the prompt input remains editable with both edges inside the viewport, including when the sidebar is open.