Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const styled = {
position: 'sticky',
top: 0,
boxShadow: $isSticky ? $theme.lighting.shallowBelow : 'none',
zIndex: 1,
},
}),
})
Expand Down
11 changes: 9 additions & 2 deletions src/views/workflow-history/workflow-history.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@ import type {
} from '@/hooks/use-styletron-classes';

const cssStylesObj = {
container: {
display: 'flex',
flexDirection: 'column',
flex: 1,
// This is to ensure the header section z-index is relative to this container and do not
// show above external elements like popovers and modals
position: 'relative',
zIndex: 0,
},
contentSection: {
display: 'flex',
flexDirection: 'column',
flex: 1,
// This is to ensure the content section is behind the header
zIndex: -1,
},
eventsContainer: (theme) => ({
display: 'flex',
Expand Down
4 changes: 2 additions & 2 deletions src/views/workflow-history/workflow-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default function WorkflowHistory({ params }: Props) {
}

return (
<>
<div className={cls.container}>
<WorkflowHistoryHeader
isExpandAllEvents={isExpandAllEvents}
toggleIsExpandAllEvents={toggleIsExpandAllEvents}
Expand Down Expand Up @@ -548,6 +548,6 @@ export default function WorkflowHistory({ params }: Props) {
/>
)}
</PageSection>
</>
</div>
);
}