Skip to content

Commit

Permalink
Fix action buttons alignment on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Mar 9, 2023
1 parent c8b9e80 commit 818553c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
* Fix hover on account type of notifications
* Fix top margin on mobile
* Fix hover bubble dimension under actions
* Fix action button focus
* Fix action buttons alignment on mobile
* Disable action focus bubble on mobile

### 1.0.9: 2023-03-09

Expand Down
17 changes: 12 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Cursed Mastodon Twitter CSS-only revamp by @[email protected]
v1.1.0rc6 */
v1.1.0rc7 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -1310,10 +1310,18 @@ a.status-card.compact .status-card__description {
/* It's inlined so we have to use !important */
/* stylelint-disable-next-line */
height: unset !important;
position: relative;
/* It's inlined so we have to use !important */
/* stylelint-disable-next-line */
width: 50px !important;
width: unset !important;
}

@media screen and (min-width: 890px) {
.layout-single-column .status__action-bar .icon-button {
position: relative;
/* It's inlined so we have to use !important */
/* stylelint-disable-next-line */
width: 50px !important;
}
}

/* Replace bookmark icon */
Expand Down Expand Up @@ -1697,8 +1705,7 @@ a.status-card.compact .status-card__description {

.layout-single-column .detailed-status__action-bar .icon-button::after,
.layout-single-column .status__action-bar .icon-button::after {
top: -7px;
transform: translateX(2px);
display: none;
}
}

Expand Down

0 comments on commit 818553c

Please sign in to comment.