Skip to content

Commit

Permalink
Make header cover all objects when scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
prasm313 committed Mar 5, 2024
1 parent 9745278 commit e15bf6b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ import { MissionRestartButton } from 'components/Displays/MissionButtons/Mission
import { TaskStatus } from 'models/Task'

const HeaderSection = styled(Card)`
width: 85vw;
width: 100%;
padding: 15px 0px 15px 0px;
box-shadow: none;
border-radius: 0px;
max-width: 800px;
box-shadow:
-10px 0px 0px 0px white,
30px 0px 0px 0px white;
top: 60px;
position: sticky;
background-color: white;
z-index: 1;
@media (max-width: 500px) {
@media (max-width: 700px) {
top: 80px;
}
`

const TitleSection = styled.div`
display: flex;
align-items: center;
Expand Down

0 comments on commit e15bf6b

Please sign in to comment.