|
843 | 843 | <h2 class="m-0 text-title text-ink">Manage Teams</h2> |
844 | 844 | </div> |
845 | 845 |
|
846 | | - <!-- Save lives here, always, and sticks below the nav bar (`top-14`, the |
847 | | - same offset the sidebar uses) so it stays in reach however far down |
| 846 | + <!-- Save lives here, always, and sticks below the nav bar (its `h-14` row |
| 847 | + plus its 1px bottom border) so it stays in reach however far down |
848 | 848 | the projects the organizer has scrolled. Quiet while everything is |
849 | 849 | saved; warning-colored as soon as anything is not — unsaved is a |
850 | 850 | state, so warning rather than accent, and the same color marks what |
|
854 | 854 | wrapper: what scrolls underneath stays hidden, the tint reads the same |
855 | 855 | as on the unsaved cards, and the 2px above it keeps it off the nav bar |
856 | 856 | without a see-through slit. --> |
857 | | - <div bind:offsetHeight={saveBarHeight} class="sticky top-14 z-10 bg-canvas pt-0.5"> |
| 857 | + <div |
| 858 | + bind:offsetHeight={saveBarHeight} |
| 859 | + class="sticky top-[calc(3.5rem+1px)] z-10 bg-canvas pt-0.5" |
| 860 | + > |
858 | 861 | <div |
859 | 862 | class="flex flex-wrap items-center gap-3 rounded-card border px-3 py-2 |
860 | 863 | text-xs {changes.total > 0 |
|
1304 | 1307 | browsers draw and would sit beside ours. --> |
1305 | 1308 | <div |
1306 | 1309 | class="sticky z-10 -my-2 flex flex-wrap items-center gap-1.5 bg-canvas py-2" |
1307 | | - style:top="calc(3.5rem + {saveBarHeight}px)" |
| 1310 | + style:top="calc(3.5rem + 1px + {saveBarHeight}px)" |
1308 | 1311 | > |
1309 | 1312 | <div class="relative w-56"> |
1310 | 1313 | <Search |
|
0 commit comments