Skip to content

Commit

Permalink
Merge branch 'main' into repo-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Octomerger authored Feb 22, 2022
2 parents 545c8a5 + 807c8e2 commit a5664f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/DefaultLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ export const DefaultLayout = (props: Props) => {
Skip to main content
</a>
<SidebarNav />
<div className="flex-column flex-1 overflow-auto">
{/* Need to set an explicit height for sticky elements since we also
set overflow to auto */}
<div
className="flex-column flex-1 overflow-auto print-overflow-visible"
style={{ height: '100vh' }}
>
<Header />
<main id="main-content">
<DeprecationBanner />
Expand Down
4 changes: 4 additions & 0 deletions stylesheets/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
.no-print {
display: none;
}

.print-overflow-visible {
overflow: visible !important;
}
}

/* Opacity utilities
Expand Down

2 comments on commit a5664f8

@TheFiveRyde

This comment was marked as spam.

@TheFiveRyde

This comment was marked as spam.

Please sign in to comment.