Skip to content

Commit

Permalink
fix: do not freeze page header on screens with width or height under …
Browse files Browse the repository at this point in the history
…640px
  • Loading branch information
dmijatovic committed Dec 1, 2022
1 parent d126e06 commit 6f7de9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/components/layout/PageTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export const PageTitleSticky = styled('section')(({theme})=>({
flexWrap: 'wrap',
position: 'relative'
},
'@media (max-height: 640px)':{
flexDirection:'column',
flexWrap: 'wrap',
position: 'relative'
},
}))

export default function PageTitle({title,children}:{title:string,children?:ReactNode}) {
Expand Down

0 comments on commit 6f7de9e

Please sign in to comment.