Skip to content

Commit a07e0af

Browse files
travisk-codesveksen
authored andcommitted
Stretch Box component when text content short
1 parent e0b1641 commit a07e0af

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/HeaderBarebone/styles.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export const HeaderWrapper = styled.div`
99
position: relative;
1010
display: flex;
1111
justify-content: center;
12+
padding: 0 32px;
1213
1314
@media screen and (max-width: 1200px) {
1415
width: 100% !important;
15-
padding-right: 0 !important;
1616
}
1717
1818
@media screen and (max-width: 767px) {
@@ -76,13 +76,10 @@ export const Box = styled.div`
7676
padding: 16px;
7777
margin: 16px;
7878
backdrop-filter: blur(14px);
79+
width: 100%;
7980
max-width: 650px;
8081
z-index: 1;
8182
82-
@media screen and (max-width: 1200px) {
83-
max-width: 100%;
84-
}
85-
8683
@media screen and (max-width: 767px) {
8784
position: static;
8885
bottom: auto;

0 commit comments

Comments
 (0)