We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a30c9c0 commit 6094e61Copy full SHA for 6094e61
1 file changed
src/sections/Home/Banner-2/banner2.style.js
@@ -12,6 +12,18 @@ const Banner2SectionWrapper = styled.section`
12
background-color: ${props => props.theme.body};
13
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
14
min-height: 600px; /* Add explicit min-height */
15
+ @media only screen and (max-width: 760px) {
16
+ min-height: 320px;
17
+ padding: 1.2rem 0 1.5rem 0;
18
+ background-position: bottom 60px right 5px, bottom right;
19
+ background-size: 18%, 15%;
20
+ }
21
+ @media only screen and (max-width: 480px) {
22
+ min-height: 180px;
23
+ padding: 0.7rem 0 1rem 0;
24
+ background-position: bottom 30px right 2px, bottom 10px right;
25
+ background-size: 13%, 10%;
26
27
position: relative; /* Add position for better layout control */
28
width: 100%; /* Add explicit width */
29
0 commit comments