[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:
diondiondion
2025-09-22 10:39:32 +02:00
committed by Claire
parent a548c5c29b
commit 986e6b1505

View File

@@ -1472,7 +1472,6 @@
.status__content__translate-button {
display: flex;
align-items: center;
width: min-content;
font-size: 15px;
line-height: 22px;
color: $highlight-text-color;
@@ -1481,6 +1480,14 @@
padding: 0;
margin-top: 16px;
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,
&:active {