Standalone media are now limited in height (unless the post is opened in detailed view)

This commit is contained in:
Niléane 2023-11-28 18:10:46 +01:00
parent f21db04081
commit 10c89b29f1
No known key found for this signature in database
3 changed files with 15 additions and 3 deletions

View file

@ -1835,6 +1835,11 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
border: 1px solid var(--color-lines);
}
.app-body div:not(.detailed-status) > .media-gallery:has(.media-gallery__item.standalone) {
max-height: 500px;
width: auto;
}
/* 📊 Polls */
.app-body .poll__chart,
.app-body .muted .poll__chart.leading {
@ -1898,7 +1903,6 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
}
/* Empty columns */
.app-body .empty-column-indicator {
background-color: var(--color-content-secondary-bg);

View file

@ -1834,6 +1834,11 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
border: 1px solid var(--color-lines);
}
.app-body div:not(.detailed-status) > .media-gallery:has(.media-gallery__item.standalone) {
max-height: 500px;
width: auto;
}
/* 📊 Polls */
.app-body .poll__chart,
.app-body .muted .poll__chart.leading {
@ -1897,7 +1902,6 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
}
/* Empty columns */
.app-body .empty-column-indicator {
background-color: var(--color-content-secondary-bg);

View file

@ -1834,6 +1834,11 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
border: 1px solid var(--color-lines);
}
.app-body div:not(.detailed-status) > .media-gallery:has(.media-gallery__item.standalone) {
max-height: 500px;
width: auto;
}
/* 📊 Polls */
.app-body .poll__chart,
.app-body .muted .poll__chart.leading {
@ -1897,7 +1902,6 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
}
/* Empty columns */
.app-body .empty-column-indicator {
background-color: var(--color-content-secondary-bg);