Fix line break in Read more button (#36216)
This commit is contained in:
@@ -1413,7 +1413,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;
|
||||||
@@ -1422,6 +1421,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