The task steps aside instead of standing in front
Browse files at this commit1b713bf093adf474929146f7eb7d0e45102c88f4Parent: 0eaa259- feat
- the task steps aside instead of standing in front
1 changed file +16 -0
- style/main.scss +16 -0
style/main.scssmodified+16 -0
| @@ -998,6 +998,22 @@ a { | ||
| 998 | 998 | |
| 999 | 999 | .modal-new-task { width: 480px; } |
| 1000 | 1000 | |
| 1001 | +// The task-detail modal is a right side panel: fixed to the viewport's right | |
| 1002 | +// edge at full height. Its markup shares `.modal` with the new-task modal and | |
| 1003 | +// the viewer, which stay centered, so the panel is `.modal` minus those two. | |
| 1004 | +.modal:not(.modal-new-task):not(.viewer) { | |
| 1005 | + position: fixed; | |
| 1006 | + inset: 0 0 0 auto; | |
| 1007 | + width: 560px; | |
| 1008 | + max-width: 100vw; | |
| 1009 | + max-height: none; | |
| 1010 | + border: none; | |
| 1011 | + border-left: 1px solid var(--border); | |
| 1012 | + border-radius: 0; | |
| 1013 | + | |
| 1014 | + @media (max-width: 640px) { width: 100vw; } | |
| 1015 | +} | |
| 1016 | + | |
| 1001 | 1017 | // The in-app file viewer: same scrim/panel chrome as the task modal, rendered |
| 1002 | 1018 | // as a later sibling of it so the task modal underneath hides while it is |
| 1003 | 1019 | // open — one popup on screen at a time, the same rule the delete confirm |