Skip to content

Commit

Permalink
full length workspace content; apps side nav scrolls (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
rstijerina authored Jun 11, 2024
1 parent ad76cc0 commit f87096a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions client/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,23 @@
.ant-collapse-header:focus-visible {
outline: -webkit-focus-ring-color auto 1px !important;
}

.o-site__body,
#apps-root,
#apps-root > div.ant-flex,
.ant-layout-has-sider,
.ant-layout-sider {
height: 100%;
overflow: hidden;
}

/* Do NOT scroll "Applications:" and "Job Status" */
.ant-layout-sider-children {
overflow-y: hidden;
}

/* DO scroll app category menu */
.ant-layout-sider-children > header + div + ul {
overflow: auto;
height: 100%;
}
2 changes: 1 addition & 1 deletion designsafe/static/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ li .popover.right {
flex-direction: column;
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
flex-basis: 0;
}

.o-site__body > .container-fluid {
Expand Down

0 comments on commit f87096a

Please sign in to comment.