Skip to content

Commit 057dbec

Browse files
authored
Merge pull request #636 from Chris0Jeky/fix/623-sidebar-footer-pinned
Pin sidebar footer always visible (fixes #623)
2 parents 6a2561b + 855175a commit 057dbec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/taskdeck-web/src/components/shell/ShellSidebar.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,10 @@ defineExpose({
361361
<style scoped>
362362
.td-sidebar {
363363
width: var(--td-sidebar-width);
364+
position: sticky;
365+
top: 0;
366+
height: 100vh;
367+
height: 100dvh;
364368
background: var(--td-surface-container);
365369
color: var(--td-text-primary);
366370
display: flex;
@@ -429,6 +433,7 @@ defineExpose({
429433
430434
.td-sidebar__nav {
431435
flex: 1;
436+
overflow-y: auto;
432437
padding-top: var(--td-space-5);
433438
display: flex;
434439
flex-direction: column;
@@ -538,6 +543,7 @@ defineExpose({
538543
}
539544
540545
.td-sidebar__footer {
546+
flex-shrink: 0;
541547
padding: var(--td-space-3);
542548
border-top: 1px solid var(--td-border-ghost);
543549
display: flex;
@@ -557,6 +563,7 @@ defineExpose({
557563
top: 0;
558564
left: 0;
559565
bottom: 0;
566+
height: auto;
560567
transform: translateX(-100%);
561568
transition: transform 0.25s ease;
562569
z-index: 50;

0 commit comments

Comments
 (0)