mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-20 13:48:09 +00:00
[Glitch] Fix line break in Read more button
Port 9bd151808c to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -1472,7 +1472,6 @@
|
|||||||
.status__content__translate-button {
|
.status__content__translate-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: min-content;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: $highlight-text-color;
|
color: $highlight-text-color;
|
||||||
@@ -1481,6 +1480,14 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
text-wrap: nowrap;
|
||||||
|
|
||||||
|
.status--is-quote & {
|
||||||
|
// Needed to prevent buttons from stretching across whole
|
||||||
|
// status width in Safari due to line-clamp
|
||||||
|
width: min-content;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active {
|
&:active {
|
||||||
|
|||||||
Reference in New Issue
Block a user