Skip to content

Commit

Permalink
Reintroduce Threads-like media proportions for single column mode, mi…
Browse files Browse the repository at this point in the history
…ssing since e2bb415 (2024-12-10)
  • Loading branch information
ronilaukkarinen committed Dec 15, 2024
1 parent 68d9b2f commit 0feaa8a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.1.1: 2024-12-15

* Reintroduce Threads-like media proportions for single column mode, missing since e2bb415 (2024-12-10)

### 2.1.0: 2024-12-15

* Fix star icon active position in single column mode
Expand Down
2 changes: 2 additions & 0 deletions layout-multiple-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -4238,6 +4238,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
.layout-multiple-columns .notification-group--favourite .icon-star,
.layout-multiple-columns .notification-favourite .icon-star {
background-image: var(--icon-heart-notification);
background-repeat: no-repeat;
}

.layout-multiple-columns .notification__filter-bar .icon-star,
Expand Down Expand Up @@ -4381,6 +4382,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
.layout-multiple-columns .notification-group--favourite .icon-star,
.layout-multiple-columns .notification-favourite .icon-star {
background-image: var(--icon-star-notification);
background-repeat: no-repeat;
}
.layout-multiple-columns .notification__filter-bar .active .icon-star {
Expand Down
14 changes: 14 additions & 0 deletions layout-single-column.css
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,18 @@ body.embed .detailed-status .video-player,
margin-left: calc(var(--size-avatar) + var(--gap-default));
}

.layout-single-column .media-gallery.media-gallery__item--tall,
.layout-single-column .media-gallery.media-gallery--layout-1,
.layout-single-column .media-gallery.media-gallery--layout-2,
.layout-single-column .media-gallery.media-gallery--layout-3,
.layout-single-column .media-gallery.media-gallery--layout-4,
.layout-single-column .media-gallery__preview,
.layout-single-column .video-player {
max-height: 430px;
/* stylelint-disable-next-line */
width: unset !important;
}

/* Detailed status update */
.layout-single-column .detailed-status .status__content {
font-size: var(--font-size-bigger);
Expand Down Expand Up @@ -4651,6 +4663,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
.layout-single-column .notification-group--favourite .icon-star,
.layout-single-column .notification-favourite .icon-star {
background-image: var(--icon-heart-notification);
background-repeat: no-repeat;
}

.layout-single-column .notification__filter-bar .icon-star,
Expand Down Expand Up @@ -4810,6 +4823,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu
.layout-single-column .notification-group--favourite .icon-star,
.layout-single-column .notification-favourite .icon-star {
background-image: var(--icon-star-notification);
background-repeat: no-repeat;
}
.layout-single-column .notification__filter-bar .active .icon-star {
Expand Down

0 comments on commit 0feaa8a

Please sign in to comment.