-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Truncate too long localized unfollow button text in notifications
- Loading branch information
1 parent
93e15d9
commit 94f98c7
Showing
4 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
1.7.8rc9 */ | ||
1.7.8 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1691,6 +1691,18 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet, | |
white-space: nowrap; | ||
} | ||
|
||
/* Truncate too long unfollow buttons and texts beside it so they don't overlap in notifications */ | ||
@media (max-width: 600px) { | ||
.layout-multiple-columns .notification .account__relationship > .button, | ||
.layout-multiple-columns .notification__report__actions .button { | ||
max-width: 24vw; | ||
} | ||
|
||
.layout-multiple-columns .notification__message > span > span { | ||
max-width: 50vw; | ||
} | ||
} | ||
|
||
.layout-multiple-columns .notification__message > div { | ||
display: flex; | ||
justify-content: flex-end; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
1.7.8rc9 */ | ||
1.7.8 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1698,6 +1698,18 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet, | |
white-space: nowrap; | ||
} | ||
|
||
/* Truncate too long unfollow buttons and texts beside it so they don't overlap in notifications */ | ||
@media (max-width: 600px) { | ||
.layout-single-column .notification .account__relationship > .button, | ||
.layout-single-column .notification__report__actions .button { | ||
max-width: 24vw; | ||
} | ||
|
||
.layout-single-column .notification__message > span > span { | ||
max-width: 50vw; | ||
} | ||
} | ||
|
||
.layout-single-column .notification__message > div { | ||
display: flex; | ||
justify-content: flex-end; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters