Topbar fixation (#28)

This commit is contained in:
Maria Rushkova 2021-08-30 15:23:55 +02:00 committed by GitHub
parent 804e009c1f
commit f93cb82a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 7 deletions

View File

@ -156,9 +156,12 @@ const Logo = styled.div`
`
const Wrapper = styled.div`
height: 96px;
background: #fbfcfe;
display: flex;
height: 96px;
width: 100%;
position: fixed;
background: #fbfcfe;
z-index: 10;
@media (max-width: 600px) {
height: 64px;

View File

@ -161,7 +161,7 @@ const NewPollBox = styled.div`
box-shadow: 10px 10px 31px -2px #a3a1a1;
border-radius: 5px;
overflow: auto;
z-index: 8;
z-index: 9998;
width: 468px;
@media (max-width: 600px) {

View File

@ -57,7 +57,7 @@ const CreatePollButton = styled(Button)`
}
@media (max-width: 425px) {
position: absolute;
position: fixed;
bottom: 0;
z-index: 10;
margin-bottom: 16px;
@ -71,12 +71,16 @@ const Wrapper = styled.div`
flex-direction: column;
align-items: center;
max-width: 1082px;
height: 100%;
position: relative;
margin: 0 auto;
padding: 50px 0;
padding: 150px 0 50px;
@media (max-width: 600px) {
padding: 32px 16px;
padding: 132px 16px 32px;
}
@media (max-width: 425px) {
padding: 96px 16px 84px;
}
`