@@ -12,7 +12,7 @@ const SoSpecialWrapper = styled.div`
1212 .slick-list .slick-track{
1313 width:5000px;
1414 }
15- @media only screen and (max-width:450px ){
15+ @media only screen and (max-width:600px ){
1616 padding:1rem;
1717 }
1818 .special_carousel{
@@ -104,17 +104,19 @@ const SoSpecialWrapper = styled.div`
104104 transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
105105 }
106106 #special-cont_img{
107- height:70% ;
107+ height:17rem ;
108108 width:100%;
109109 overflow:hidden;
110110 .gatsby-image-wrapper, .old-gatsby-image-wrapper{
111111 height:100%;
112112 }
113113 img{
114- height: inherit ;
114+ height: 17rem ;
115115 display: block;
116116 text-align: center;
117117 margin: auto;
118+ object-fit: fill !important;
119+ image-rendering: auto;
118120 }
119121 }
120122 .slick-dots{
@@ -159,25 +161,12 @@ const SoSpecialWrapper = styled.div`
159161 }
160162 @media screen and (max-width: 1400px){
161163 .special_carousel{
162- width:75%;
163- }
164- }
165- @media screen and (min-width: 1199px){
166- .special-cont_img{
167- height:20rem;
168- width:100%;
169- }
170- }
171- @media screen and (max-width: 1199px){
172- .special-cont_img{
173- height:20rem;
174- width:100%;
164+ width:75% !important;
175165 }
176166 }
177167 @media screen and (max-width: 1024px){
178168 .special_carousel{
179- margin-bottom: 3rem;
180- width:80%;
169+ width:80% !important;
181170 }
182171 .special-cont_img{
183172 width: 100%;
@@ -190,12 +179,7 @@ const SoSpecialWrapper = styled.div`
190179
191180 @media screen and (max-width: 850px){
192181 .special_carousel{
193- margin-bottom: 3rem;
194- width:100%;
195- }
196- .special-cont_img{
197- width: 22rem;
198- max-height: 17rem;
182+ width:100% !important;
199183 }
200184 .so-special-head{
201185 padding:1rem;
@@ -207,19 +191,11 @@ const SoSpecialWrapper = styled.div`
207191 }
208192 }
209193 @media screen and (max-width: 671px){
210- .special-cont_img{
211- width: 100%;
212- max-height: 20rem;
213- }
214194 .special-cont_content{
215195 padding:0rem;
216196 }
217197 }
218198 @media screen and (max-width: 500px){
219- #special-cont_img{
220- width: 100%;
221- height: 65%;
222- }
223199 .so-special-head{
224200 padding: 0.5rem 0;
225201 }
@@ -229,9 +205,6 @@ const SoSpecialWrapper = styled.div`
229205 height:25rem;
230206 margin:0;
231207 }
232- #special-cont_img{
233- height: 60%;
234- }
235208 #special-cont_content{
236209 .special-cont_para
237210 {
0 commit comments