Skip to content

Commit

Permalink
Stretch Box component when text content short
Browse files Browse the repository at this point in the history
  • Loading branch information
travisk-codes authored and veksen committed Sep 17, 2020
1 parent e0b1641 commit a07e0af
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/HeaderBarebone/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export const HeaderWrapper = styled.div`
position: relative;
display: flex;
justify-content: center;
padding: 0 32px;
@media screen and (max-width: 1200px) {
width: 100% !important;
padding-right: 0 !important;
}
@media screen and (max-width: 767px) {
Expand Down Expand Up @@ -76,13 +76,10 @@ export const Box = styled.div`
padding: 16px;
margin: 16px;
backdrop-filter: blur(14px);
width: 100%;
max-width: 650px;
z-index: 1;
@media screen and (max-width: 1200px) {
max-width: 100%;
}
@media screen and (max-width: 767px) {
position: static;
bottom: auto;
Expand Down

0 comments on commit a07e0af

Please sign in to comment.