Skip to content

Commit

Permalink
Fix regression with icon button aligning when not focused
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Oct 9, 2023
1 parent b12c9de commit 2217330
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Improve button border colors in ultra accessible theme
* Do not animate when prefers-reduced-motion is set to reduce, Fixes #95
* Fix profile button icon not horizontally centered
* Fix regression with icon button aligning when not focused

### 1.7.9: 2023-10-04

Expand Down
6 changes: 5 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]
1.8.0rc3 */
1.8.0rc4 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -2566,6 +2566,10 @@ body.embed .button.logo-button,
justify-content: center;
}

.layout-multiple-columns .account__header__tabs__buttons .icon-button:not(.active) {
align-items: center;
}

body.embed .button.logo-button:hover,
.layout-multiple-columns .column-inline-form button:hover,
.layout-multiple-columns .explore__suggestions .account-card__actions__button button:hover,
Expand Down
6 changes: 5 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]
1.8.0rc3 */
1.8.0rc4 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -2582,6 +2582,10 @@ body.embed .button.logo-button,
justify-content: center;
}

.layout-single-column .account__header__tabs__buttons .icon-button:not(.active) {
align-items: center;
}

body.embed .button.logo-button:hover,
.layout-single-column .column-inline-form button:hover,
.layout-single-column .explore__suggestions .account-card__actions__button button:hover,
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": "1.8.0rc3",
"version": "1.8.0rc4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 2217330

Please sign in to comment.