|
Download task_019/instruction.md from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_019/instruction.md
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_019/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_019/instruction.md
1.28 kB
| # Consistent sidebar and content spacing | |
| Adjust the supplied root `index.html` so the content has a consistent horizontal inset as the sidebar is toggled and the window resizes. Preserve the existing page and sidebar controls; run directly offline. Keep `data-testid` values `sidebar`, `toggle-sidebar`, `content-shell`, `main-content`, and `placeholder`. | |
| ## Layout requirements | |
| - With the sidebar collapsed, keep at least 64 px between the viewport's left edge and the main column. In the small-window initial view, keep at least 64 px between the content shell's left edge and the placeholder. | |
| - With the sidebar expanded, keep at least 64 px between its right edge and the main column. | |
| - In a wide window, center the column in the available area: between the sidebar's right edge and the viewport's right edge when expanded, or within the viewport when collapsed. Use any CSS layout that produces these positions. | |
| ## Acceptance Checklist | |
| - The small-window placeholder is inset by at least 64 px. | |
| - The expanded sidebar leaves at least 64 px before the main column, and the column is centered in the remaining space at a wide viewport. | |
| - Collapsing the sidebar preserves the main column's left inset. The page stays usable without network requests or browser errors. | |