forge
Explore
Log in

Don't you dare go Hollow

The task steps aside instead of standing in front

Browse files at this commit

1b713bf093adf474929146f7eb7d0e45102c88f4Ahmet Kaan GümüşParent: 0eaa259
  • feat
    • the task steps aside instead of standing in front
Show full message
✨ feat(web): the task steps aside instead of standing in front
style/main.scssmodified+16 -0
@@ -998,6 +998,22 @@ a {
998998
999999 .modal-new-task { width: 480px; }
10001000
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+
10011017 // The in-app file viewer: same scrim/panel chrome as the task modal, rendered
10021018 // as a later sibling of it so the task modal underneath hides while it is
10031019 // open — one popup on screen at a time, the same rule the delete confirm