Skip to content

Commit

Permalink
Embed fixes, 2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Dec 9, 2024
1 parent a738767 commit e2bb415
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2.0.9: 2024-12-09

* Fix embed media gallery proportions
* Use darker bg for embeds by default

### 2.0.8: 2024-12-08

* Make sure embed has a background color
Expand Down
2 changes: 1 addition & 1 deletion layout-multiple-columns.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Mastodon Bird UI by @[email protected]
2.0.8 */
2.0.9 */

/* CSS variables */
:root {
Expand Down
7 changes: 2 additions & 5 deletions layout-single-column.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Mastodon Bird UI by @[email protected]
2.0.8 */
2.0.9 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -1684,9 +1684,6 @@ body.embed .video-player,
.layout-single-column .media-gallery__preview,
.layout-single-column .video-player {
margin-left: calc(var(--size-avatar) + var(--gap-default));
max-height: 430px;
/* stylelint-disable-next-line */
width: unset !important;
}

body.embed [data-component="Video"] > div {
Expand Down Expand Up @@ -4283,7 +4280,7 @@ body .compose-form .compose-form__uploads {
/* Embeds outside Mastodon */
body.embed {
/* stylelint-disable-next-line */
background-color: var(--color-bg) !important;
background-color: #14171d !important;
/* Make sure with !important */
/* stylelint-disable-next-line */
border: 0;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mastodon-bird-ui",
"version": "2.0.8",
"version": "2.0.9",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e2bb415

Please sign in to comment.