One more adjustment to media component css.

This commit is contained in:
mateuswetah 2021-06-24 21:55:46 -03:00
parent 265259e1a5
commit 4c2e5b194d
3 changed files with 5 additions and 5 deletions

View File

@ -728,7 +728,8 @@ a.pswp__share--download:hover {
background: var(--tainacan-media-background, #ffffff);
border-radius: 3px;
word-wrap: break-word;
padding: 1rem 2rem; }
padding: 1rem 2rem;
display: block; }
.tainacan-media-component__swiper-main .swiper-slide-content audio {
background: black;
min-height: 38px;
@ -743,8 +744,7 @@ a.pswp__share--download:hover {
max-height: var(--tainacan-media-main-carousel-height, 60vh); }
.tainacan-media-component__swiper-main .swiper-slide-content img {
width: auto;
max-height: var(--tainacan-media-main-carousel-height, 60vh);
display: block; }
max-height: var(--tainacan-media-main-carousel-height, 60vh); }
.tainacan-media-component__swiper-main .swiper-slide-content .twitter-tweet {
margin-left: auto;
margin-right: auto; }

File diff suppressed because one or more lines are too long

View File

@ -167,6 +167,7 @@ $pswp__include-minimal-style: true !default;
border-radius: 3px;
word-wrap: break-word;
padding: 1rem 2rem;
display: block;
}
audio {
background: black;
@ -185,7 +186,6 @@ $pswp__include-minimal-style: true !default;
img {
width: auto;
max-height: var(--tainacan-media-main-carousel-height, 60vh);
display: block;
}
.twitter-tweet {
margin-left: auto;