File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed
frontend-next-migration/src/shared/ui/v2/MobileCard/ui Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 176176// ClanCard
177177.MobileCard.ClanCard {
178178 @include card-dimensions ;
179+ position : relative ;
179180 overflow : hidden ;
180181 border-radius : var (--corner-radius-web );
181182 background-color : var (--base-card-background );
193194 justify-content : center ;
194195 gap : 0.25rem ;
195196 align-items : center ;
197+ position : relative ;
198+ z-index : 1 ;
196199
197200 .Title1 {
198201 color : var (--white );
202205 text-align : center ;
203206 max-width : 100% ;
204207 white-space : normal ;
205- overflow : hidden ;
206208 word-break : break-word ;
207- text-overflow : clip ;
208209 }
209210
210211 .Text { margin : 0 ; }
216217 justify-content : center ;
217218 align-items : center ;
218219 padding : 0.25rem 0 ;
220+ position : relative ;
221+ z-index : 0 ;
219222
220223 .Image {
221224 height : auto ;
225+ max-width : 100% ;
222226 object-fit : contain !important ;
227+ transform-origin : center ;
223228 }
224229 }
225230
284289 .MobileCard.ClanCard > .TextContainer :first-of-type .Title1 {
285290 font-size : 1rem ;
286291 }
287- }
292+ }
293+
294+ // Override withScalableLink behaviour for ClanCard only
295+ .withScalableLink {
296+ .MobileCard.ClanCard {
297+ > .TextContainer :first-of-type {
298+ height : 24% !important ;
299+ }
300+
301+ > .ImageContainer {
302+ height : 48% !important ;
303+ }
304+
305+ > .TextContainer :last-of-type {
306+ height : 28% !important ;
307+ }
308+ }
309+ }
You can’t perform that action at this time.
0 commit comments