Sidebar: pin the action icon row to the visible bottom (#129)
.sidebar is itself the scroll container, so the footer's margin-top: auto only pinned the icon row to the end of the CONTENT — behind the fold on long page lists. The row is now position: sticky with negative bottom/side margins undoing the sidebar padding, a background, and a top border, so the list scrolls away beneath it and the four actions stay visible at any list length. The import progress list keeps floating above the row (absolute within the sticky footer). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fb2VzvcoBPHkjh8bZ6PzQn
This commit is contained in:
parent
1b9dd7d475
commit
31557f09e5
@ -1759,8 +1759,17 @@ button {
|
||||
}
|
||||
|
||||
.sidebar__footer {
|
||||
margin-top: auto;
|
||||
padding-top: var(--space-4);
|
||||
/* #129: .sidebar is the scroll container, so margin-top: auto alone only
|
||||
pins the row to the END of the content — behind the fold on long page
|
||||
lists. Sticky keeps it visible; the negative bottom/side margins undo
|
||||
the sidebar padding so the bar sits flush and covers the scrolling
|
||||
list across the full width. */
|
||||
position: sticky;
|
||||
bottom: calc(-1 * var(--space-4));
|
||||
margin: auto calc(-1 * var(--space-4)) calc(-1 * var(--space-4));
|
||||
padding: var(--space-2) var(--space-4);
|
||||
background: var(--color-bg-subtle);
|
||||
border-top: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user