Adds max-width to main gallery slide item.
This commit is contained in:
parent
9cf653eb3f
commit
e8fba0cff5
|
@ -656,6 +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));
|
||||
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
|
@ -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: calc(100% - var(--swiper-navigation-size, 44px) - var(--swiper-navigation-size, 44px));
|
||||
padding: 0 var(--swiper-navigation-size, 44px);
|
||||
opacity: 1.0;
|
||||
transition: opacity 0.2s linear;
|
||||
|
|
Loading…
Reference in New Issue