JSFiddle - React, Tailwind, and code Playground
by dtkav
CSS
.conversation {
max-width: 600px;
margin: 0 auto;
float: none;
border-radius: 0;
position: relative;
width: 100%; }
.conversation .show-more {
margin-bottom: 10px; }
.main-thread {
margin-bottom: 20px;
background-color: var(--bg_panel); }
.main-tweet, .replies {
padding-top: 50px;
margin-top: -50px; }
.main-tweet .tweet-content {
font-size: 18px; }
@media (max-width: 600px) {
.main-tweet .tweet-content {
font-size: 16px; } }
.reply {
background-color: var(--bg_panel);
margin-bottom: 10px; }
.thread-line .timeline-item::before, .thread-line.timeline-item::before {
background: var(--accent_dark);
content: '';
position: relative;
min-width: 3px;
width: 3px;
left: 26px;
border-radius: 2px;
margin-left: -3px;
margin-bottom: 37px;
top: 56px;
z-index: 1;
pointer-events: none; }
.thread-line .with-header:not(:first-child)::after {
background: var(--accent_dark);
content: '';
position: relative;
float: left;
min-width: 3px;
width: 3px;
right: calc(100% - 26px);
border-radius: 2px;
margin-left: -3px;
margin-bottom: 37px;
bottom: 10px;
height: 30px;
z-index: 1;
pointer-events: none; }
.thread-line .unavailable::before {
top: 48px;
margin-bottom: 28px; }
.thread-line .more-replies::before {
content: '...';
background: unset;
color: var(--more_replies_dots);
font-weight: bold;
font-size: 20px;
line-height: 0.25em;
left: 1.2em;
width: 5px;
top: 2px;
margin-bottom: 0;
margin-left: -2.5px; }
.thread-line .earlier-replies {
padding-bottom: 0;
margin-bottom: -5px; }
.timeline-item.thread-last::before {
background: unset;
min-width: unset;
width: 0;
margin: 0; }
.more-replies {
padding-top: 0.3em !important; }
.more-replies-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
margin-left: 58px;
padding: 7px 0; }
.timeline-item.thread.more-replies-thread {
padding: 0 0.75em; }
...