Skip to content

Commit

Permalink
Merge pull request #131 from thisyahlen-deriv/thisyahlen/header-and-o…
Browse files Browse the repository at this point in the history
…verflow-style-fix

fix: header and overflow
  • Loading branch information
thisyahlen-deriv authored Apr 29, 2024
2 parents 4c368ce + 029bde3 commit e7d64cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Header = () => {
const { getOauthURL, getDerivStaticURL } = URLUtils;

return (
<header className='border-solid border-b-1 border-b-system-light-hover-background flex px-20'>
<header className='border-solid border-b-1 border-b-system-light-hover-background flex px-20 sticky top-0 bg-system-light-primary-background z-50'>
<div className='flex justify-between items-center w-full'>
<IconComponent
icon='Deriv'
Expand Down
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body {
overscroll-behavior: none;
}

0 comments on commit e7d64cb

Please sign in to comment.