Skip to content

Commit

Permalink
make search and breadcrumbs positon fixed on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelhalimkhouas committed Jan 11, 2024
1 parent 7259e29 commit 5bf2513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/itemBrowser/ItemBrowser.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export const ResourcesContainer = styled.div`
${mobileMediaQuery} {
grid-template-columns: minmax(7.5rem, 1fr) minmax(7.5rem, 1fr);
gap: 1rem;
max-height: 500px;
overflow: scroll;
height: auto;
}
`;

Expand Down
1 change: 1 addition & 0 deletions src/components/variables/VariablesPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function VariablesPanel(props: VariablesPanelProps) {
onTrayHidden={showVariablesPanel}
styles={css`
height: ${contentType === ContentType.IMAGE_PANEL ? '100%' : 'auto'};
overflow: ${showVariablesList ? 'auto' : 'hidden'};
`}
hideCloseButton={mobileOptionsListOpen}
>
Expand Down

0 comments on commit 5bf2513

Please sign in to comment.