mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 13:11:45 +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);
|
||||||
|
|
Loading…
Reference in a new issue