File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export const FeaturesWrapper = styled.div`
7878
7979 @media (min-width: 768px) {
8080 display: grid;
81- grid-template-columns: 1fr 1fr;
81+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) ;
8282 grid-column-gap: 40px;
8383 min-height: auto;
8484 overflow-anchor: none;
@@ -114,7 +114,7 @@ export const FeaturesWrapper = styled.div`
114114 & .body {
115115 opacity: 1;
116116 font-size: 1rem;
117- max-height: 200px ;
117+ max-height: none ;
118118
119119 @media (min-width: 768px){
120120 color: ${ props => props . theme . white } ;
@@ -164,7 +164,7 @@ export const FeaturesWrapper = styled.div`
164164 & > div {
165165 max-width: 100%;
166166 @media (max-width: 768px) {
167- maxHeight : 380px;
167+ max-height : 380px;
168168 height: 380px;
169169 overflow-y:scroll;
170170 }
@@ -177,16 +177,14 @@ export const FeaturesWrapper = styled.div`
177177 }
178178
179179 @media (min-width: 768px) {
180- width: 400px;
180+ width: 100%;
181+ min-width: 0;
181182
182183 & > div {
183184 height: auto;
184185 }
185186 }
186187
187- @media (min-width: 900px) {
188- width: 600px;
189- }
190188 }
191189
192190 .learn-more-link {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const QuotesWrapper = styled.div`
2121 border-image-slice: 1 0 1 1;
2222 transition: border-image 0.6s ease-in-out;
2323
24- @media (max-width: 768px ) {
24+ @media (max-width: 1199px ) {
2525 flex-direction: column;
2626 padding: 1.5rem 1rem;
2727 gap: 1rem;
@@ -51,7 +51,7 @@ const QuotesWrapper = styled.div`
5151 line-height: 1.6;
5252 text-align: ${ props => props . $onlyQuoteIsPresent ? "center" : "right" } ;
5353
54- @media (max-width: 768px ) {
54+ @media (max-width: 1199px ) {
5555 flex: 0 0 100%;
5656 text-align: center;
5757 line-height: 1.5;
@@ -74,7 +74,7 @@ const QuotesWrapper = styled.div`
7474 padding: 0 1rem;
7575 text-align: left;
7676
77- @media (max-width: 768px ) {
77+ @media (max-width: 1199px ) {
7878 padding: 0;
7979 text-align: center;
8080 }
@@ -105,7 +105,7 @@ const QuotesWrapper = styled.div`
105105 border: none;
106106 border-left: 1px solid ${ props => props . theme . DarkTheme ? "#444" : "#ddd" } ;
107107
108- @media (max-width: 768px ) {
108+ @media (max-width: 1199px ) {
109109 width: clamp(150px, 60%, 200px);
110110 height: 0;
111111 margin: 0.5rem auto;
@@ -119,7 +119,7 @@ const QuotesWrapper = styled.div`
119119 align-items: center;
120120 gap: 1rem;
121121
122- @media (max-width: 768px ) {
122+ @media (max-width: 1199px ) {
123123 flex-direction: column;
124124 gap: 0.75rem;
125125 }
You can’t perform that action at this time.
0 commit comments