FIX: limits pre-line impact to tweet text (#15583)

This commit is contained in:
Joffrey JAFFEUX 2022-01-14 10:44:21 +01:00 committed by GitHub
parent 48f70dcd5f
commit f56eff2303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -613,10 +613,8 @@ aside.onebox.twitterstatus .onebox-body {
font-size: var(--font-down-1); font-size: var(--font-down-1);
} }
.tweet { .tweet .tweet-description {
white-space: pre-line; white-space: pre-line;
top: calc(-1 * var(--font-0) * var(--line-height-large));
position: relative;
} }
p, p,

View File

@ -3,7 +3,7 @@
<div class="twitter-screen-name"><a href="{{link}}" target="_blank" rel="noopener">@{{screen_name}}</a></div> <div class="twitter-screen-name"><a href="{{link}}" target="_blank" rel="noopener">@{{screen_name}}</a></div>
<div class="tweet"> <div class="tweet">
{{{tweet}}} <span class="tweet-description">{{{tweet}}}</span>
{{#quoted_tweet}} {{#quoted_tweet}}
<div class="quoted"> <div class="quoted">
<a class="quoted-link" href="{{quoted_link}}"> <a class="quoted-link" href="{{quoted_link}}">