1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-04-12 16:52:15 -04:00

Add full support for tweet edit history

Fixes #700
This commit is contained in:
Zed
2026-02-16 00:52:17 +01:00
parent f257ce53ae
commit a15d1ce16b
13 changed files with 194 additions and 60 deletions

View File

@@ -4,12 +4,8 @@
@include panel(100%, 600px);
}
.timeline {
background-color: var(--bg_panel);
> div:not(:first-child) {
border-top: 1px solid var(--border_grey);
}
.timeline > div:not(:first-child) {
border-top: 1px solid var(--border_grey);
}
.timeline-header {
@@ -159,4 +155,5 @@
padding: 0.75em;
display: flex;
position: relative;
background-color: var(--bg_panel);
}

View File

@@ -80,8 +80,8 @@
}
.tweet-published {
margin: 0;
margin-top: 5px;
margin-top: 10px;
margin-bottom: 3px;
color: var(--grey);
pointer-events: all;
}
@@ -242,3 +242,15 @@
background-color: var(--bg_hover);
}
}
.latest-post-version {
border-bottom: 1px solid var(--dark_grey);
border-top: 1px solid var(--dark_grey);
padding: 01ch 0px;
margin: 1ch 0px;
color: var(--grey);
a {
pointer-events: all;
}
}

View File

@@ -35,6 +35,11 @@
margin-top: -6px;
}
.quote-latest {
padding: 0px 8px 6px 8px;
color: var(--grey);
}
.replying-to {
padding: 0px 8px;
margin: unset;

View File

@@ -1,7 +1,8 @@
@import "_variables";
@import "_mixins";
.conversation {
.conversation,
.edit-history {
@include panel(100%, 600px);
.show-more {
@@ -9,19 +10,36 @@
}
}
.main-thread {
.main-thread,
.latest-edit {
margin-bottom: 20px;
background-color: var(--bg_panel);
}
.reply {
margin-bottom: 10px;
}
.main-tweet,
.replies {
.replies,
.edit-history > div {
body.fixed-nav & {
padding-top: 50px;
margin-top: -50px;
}
}
.edit-history-header {
padding: 10px;
margin-bottom: 5px;
font-size: 16px;
font-weight: bold;
background-color: var(--bg_panel);
}
.tweet-edit {
margin-bottom: 5px;
}
.main-tweet .tweet-content {
font-size: 18px;
}
@@ -32,11 +50,6 @@
}
}
.reply {
background-color: var(--bg_panel);
margin-bottom: 10px;
}
.thread-line {
.timeline-item::before,
&.timeline-item::before {