FIX: limits pre-line impact to tweet text (#15583)
This commit is contained in:
parent
48f70dcd5f
commit
f56eff2303
|
@ -613,10 +613,8 @@ aside.onebox.twitterstatus .onebox-body {
|
|||
font-size: var(--font-down-1);
|
||||
}
|
||||
|
||||
.tweet {
|
||||
.tweet .tweet-description {
|
||||
white-space: pre-line;
|
||||
top: calc(-1 * var(--font-0) * var(--line-height-large));
|
||||
position: relative;
|
||||
}
|
||||
|
||||
p,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="twitter-screen-name"><a href="{{link}}" target="_blank" rel="noopener">@{{screen_name}}</a></div>
|
||||
|
||||
<div class="tweet">
|
||||
{{{tweet}}}
|
||||
<span class="tweet-description">{{{tweet}}}</span>
|
||||
{{#quoted_tweet}}
|
||||
<div class="quoted">
|
||||
<a class="quoted-link" href="{{quoted_link}}">
|
||||
|
|
Loading…
Reference in New Issue