File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,17 +30,17 @@ const PageHeaderWrapper = styled.div`
3030 display: flex;
3131 justify-content: center;
3232 align-items: center;
33- width: 100%; /* Full width of parent */
34- max-width: 600px; /* Cap container width */
35- margin: 0 auto; /* Center container */
36- padding: 0 1rem; /* Padding for smaller screens */
33+ width: 100%;
34+ max-width: 700px;
35+ margin: 0 auto;
36+ padding: 0 1rem;
3737
3838 img {
3939 margin-top: 0rem;
4040 width: 100%;
41- max-width: 100% ;
42- max-height: 100% ;
43- height: auto ;
41+ max-width: auto ;
42+ max-height: auto ;
43+ height: 100% ;
4444 object-fit: fill;
4545 display: block;
4646 }
@@ -64,23 +64,23 @@ const PageHeaderWrapper = styled.div`
6464 }
6565 }
6666
67- /* Responsive adjustments */
67+
6868 @media (max-width: 768px) {
6969 .feature-image {
70- max-width: 90vw; /* Use viewport width for smaller screens */
70+ max-width: 90vw;
7171 padding: 0 0.5rem;
7272
7373 img {
74- max-width: 100%; /* Fit container */
75- max-height: 350px; /* Slightly smaller for tablets */
74+ max-width: 100%;
75+ max-height: 350px;
7676 }
7777 }
7878 }
7979
8080 @media (max-width: 480px) {
8181 .feature-image {
8282 img {
83- max-height: 250px; /* Further reduce for phones */
83+ max-height: 250px;
8484 }
8585 }
8686 }
You can’t perform that action at this time.
0 commit comments