feat(web): thread guides

This commit is contained in:
əlemi 2024-05-02 03:25:59 +02:00
parent 0b21dd47e6
commit 0b07979244
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 9 additions and 3 deletions

View file

@ -260,6 +260,10 @@
color: unset;
text-shadow: unset;
}
div.context {
border-left: 1px solid var(--background-dim);
padding-left: 1px;
}
</style>
</head>

View file

@ -108,10 +108,12 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView {
_ => {
let oid = object.id().unwrap_or_default().to_string();
view! {
<div class="context">
<Object object=object />
<div class="depth-r">
<TimelineRepliesRecursive tl=tl root=oid />
</div>
</div>
}.into_view()
},
}