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;
|
color: unset;
|
||||||
text-shadow: unset;
|
text-shadow: unset;
|
||||||
}
|
}
|
||||||
|
div.context {
|
||||||
|
border-left: 1px solid var(--background-dim);
|
||||||
|
padding-left: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -108,9 +108,11 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView {
|
||||||
_ => {
|
_ => {
|
||||||
let oid = object.id().unwrap_or_default().to_string();
|
let oid = object.id().unwrap_or_default().to_string();
|
||||||
view! {
|
view! {
|
||||||
<Object object=object />
|
<div class="context">
|
||||||
<div class="depth-r">
|
<Object object=object />
|
||||||
<TimelineRepliesRecursive tl=tl root=oid />
|
<div class="depth-r">
|
||||||
|
<TimelineRepliesRecursive tl=tl root=oid />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}.into_view()
|
}.into_view()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue