Skip to content

Commit

Permalink
Fix a regression with the content warning text wrapping unintentional…
Browse files Browse the repository at this point in the history
…ly in the advanced view
  • Loading branch information
ronilaukkarinen committed Oct 8, 2024
1 parent 77b98a4 commit a766cbb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 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.2: 2024-10-08

* Fix a regression with the content warning text wrapping unintentionally in the advanced view

### 2.0.1: 2024-10-08

* Fixes to heart icon on servers that have numbers enabled
Expand Down
6 changes: 3 additions & 3 deletions 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.1 */
2.0.2 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -1041,7 +1041,7 @@ body .content-warning {
color: var(--color-light-purple);
display: grid;
font-size: var(--font-size-mid);
grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
grid-template-columns: minmax(0, 3fr) minmax(88px, 1fr);
padding: 10px 16px;
white-space: unset;
}
Expand All @@ -1062,8 +1062,8 @@ body .content-warning .link-button {
font-size: var(--font-size-mid);
font-weight: var(--font-weight-semibold);
justify-self: flex-end;
min-width: 65px;
text-align: right;
white-space: nowrap;
}

/* New content warnings in 4.3.0.beta.1-mementomods-2024-08-23 */
Expand Down
6 changes: 3 additions & 3 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.1 */
2.0.2 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -1044,7 +1044,7 @@ body .content-warning {
color: var(--color-light-purple);
display: grid;
font-size: var(--font-size-mid);
grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
grid-template-columns: minmax(0, 3fr) minmax(88px, 1fr);
padding: 10px 16px;
white-space: unset;
}
Expand All @@ -1065,8 +1065,8 @@ body .content-warning .link-button {
font-size: var(--font-size-mid);
font-weight: var(--font-weight-semibold);
justify-self: flex-end;
min-width: 65px;
text-align: right;
white-space: nowrap;
}

/* New content warnings in 4.3.0.beta.1-mementomods-2024-08-23 */
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.1",
"version": "2.0.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a766cbb

Please sign in to comment.