fix(web): better spacing for actor and context guide
This commit is contained in:
parent
f4c74addd6
commit
11557f5616
3 changed files with 4 additions and 4 deletions
|
@ -235,11 +235,11 @@
|
|||
margin-left: 1em;
|
||||
}
|
||||
.depth-r {
|
||||
margin-left: 1em;
|
||||
margin-left: .5em;
|
||||
}
|
||||
@media screen and (max-width: 786px) {
|
||||
.depth-r {
|
||||
margin-left: .25em;
|
||||
margin-left: .125em;
|
||||
}
|
||||
.ml-1-r {
|
||||
margin-left: 0;
|
||||
|
|
|
@ -101,7 +101,7 @@ pub fn Object(object: crate::Object) -> impl IntoView {
|
|||
Some(view! { <div class="pb-1"></div> })
|
||||
};
|
||||
view! {
|
||||
<table class="align w-100">
|
||||
<table class="align w-100 ml-s mr-s">
|
||||
<tr>
|
||||
<td><ActorBanner object=author /></td>
|
||||
<td class="rev" >
|
||||
|
|
|
@ -108,7 +108,7 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView {
|
|||
_ => {
|
||||
let oid = object.id().unwrap_or_default().to_string();
|
||||
view! {
|
||||
<div class="context">
|
||||
<div class="context depth-r">
|
||||
<Object object=object />
|
||||
<div class="depth-r">
|
||||
<TimelineRepliesRecursive tl=tl root=oid />
|
||||
|
|
Loading…
Reference in a new issue