mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 11:41:44 +03:00
Fix wrong height set for single media inside carousel status
This commit is contained in:
parent
0ca29cb181
commit
79aa3faf51
1 changed files with 4 additions and 4 deletions
|
@ -814,14 +814,14 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
||||||
.status-carousel .content-container .content:only-child {
|
.status-carousel .content-container .content:only-child {
|
||||||
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
||||||
}
|
}
|
||||||
.status-carousel
|
/* .status-carousel
|
||||||
.content-container[data-content-text-weight='1']
|
.content-container[data-content-text-weight='1']
|
||||||
.media-container.media-eq1 {
|
.media-container.media-eq1 {
|
||||||
/* LOL, this is madness, reading a value from the style attribute */
|
/* LOL, this is madness, reading a value from the style attribute * /
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: 160px;
|
min-height: 160px;
|
||||||
max-height: max(160px, 50vh);
|
max-height: max(160px, 50vh);
|
||||||
}
|
} */
|
||||||
.status-carousel.boosts-carousel {
|
.status-carousel.boosts-carousel {
|
||||||
--carousel-color: var(--reblog-color);
|
--carousel-color: var(--reblog-color);
|
||||||
--carousel-faded-color: var(--reblog-faded-color);
|
--carousel-faded-color: var(--reblog-faded-color);
|
||||||
|
@ -2181,6 +2181,6 @@ ul.link-list li a .icon {
|
||||||
li.timeline-item-carousel {
|
li.timeline-item-carousel {
|
||||||
width: 95vw;
|
width: 95vw;
|
||||||
max-width: calc(320px * 3.3);
|
max-width: calc(320px * 3.3);
|
||||||
transform: translateX(calc(-50% + var(--main-width)/2));
|
transform: translateX(calc(-50% + var(--main-width) / 2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue