Fixes responsiveness issue on media component.. again.
This commit is contained in:
parent
c6380d8618
commit
b2b05bcca9
|
@ -656,7 +656,7 @@ a.pswp__share--download:hover {
|
|||
cursor: zoom-in !important; }
|
||||
.tainacan-media-component__swiper-main li.swiper-slide {
|
||||
height: 100%;
|
||||
max-width: calc(100% - var(--swiper-navigation-size, 44px) - var(--swiper-navigation-size, 44px));
|
||||
max-width: 100%;
|
||||
padding: 0 var(--swiper-navigation-size, 44px);
|
||||
opacity: 1.0;
|
||||
transition: opacity 0.2s linear; }
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -54,7 +54,7 @@ $pswp__include-minimal-style: true !default;
|
|||
|
||||
.tainacan-media-component__swiper-main {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-width: var(--tainacan-media-main-carousel-width, 100%);
|
||||
|
||||
ul.swiper-wrapper {
|
||||
display: flex;
|
||||
|
@ -67,7 +67,7 @@ $pswp__include-minimal-style: true !default;
|
|||
}
|
||||
li.swiper-slide {
|
||||
height: 100%;
|
||||
max-width: calc(100% - var(--swiper-navigation-size, 44px) - var(--swiper-navigation-size, 44px));
|
||||
max-width: 100%;
|
||||
//min-width: 100%;
|
||||
padding: 0 var(--swiper-navigation-size, 44px);
|
||||
opacity: 1.0;
|
||||
|
|
Loading…
Reference in New Issue