forked from alemi/upub
feat(web): thread guides
This commit is contained in:
parent
0b21dd47e6
commit
0b07979244
2 changed files with 9 additions and 3 deletions
|
@ -260,6 +260,10 @@
|
|||
color: unset;
|
||||
text-shadow: unset;
|
||||
}
|
||||
div.context {
|
||||
border-left: 1px solid var(--background-dim);
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -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()
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue