Skip to content

Commit

Permalink
Fix bottomless card and add styles for more-from-author
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Jun 30, 2024
1 parent 5c74538 commit 76eb78a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.0.0rc39: 2024-06-30

* Fix bottomless card and add styles for more-from-author

### 2.0.0rc38: 2024-06-30

* Remove outdated links from the README #121 (thanks @mackuba!)
Expand Down
8 changes: 7 additions & 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.0rc38 */
2.0.0rc39 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -616,6 +616,11 @@ body.layout-multiple-columns {
transition: all 200ms;
}

.layout-multiple-columns .status-card.status-card.bottomless {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}

.layout-multiple-columns .status-card.expanded {
display: block;
}
Expand Down Expand Up @@ -1608,6 +1613,7 @@ body.embed .detailed-status,
}

/* End: Experimental Threads-like media proportions, if the height is tall, show smaller media */
.layout-multiple-columns .status .status-card + .more-from-author,
.layout-multiple-columns .status .status-card {
margin-left: calc(var(--size-avatar) + var(--gap-default));
}
Expand Down
8 changes: 7 additions & 1 deletion 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.0rc38 */
2.0.0rc39 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -637,6 +637,11 @@ body.layout-single-column {
transition: all 200ms;
}

.layout-single-column .status-card.status-card.bottomless {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}

.layout-single-column .status-card.expanded {
display: block;
}
Expand Down Expand Up @@ -1644,6 +1649,7 @@ body.embed .detailed-status .video-player,
}

/* End: Experimental Threads-like media proportions, if the height is tall, show smaller media */
.layout-single-column .status .status-card + .more-from-author,
.layout-single-column .status .status-card {
margin-left: calc(var(--size-avatar) + var(--gap-default));
}
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.0rc38",
"version": "2.0.0rc39",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 76eb78a

Please sign in to comment.