fix(web): menu sticking on mobile, post sizing
This commit is contained in:
parent
a83b557513
commit
a2715d2978
2 changed files with 3 additions and 2 deletions
|
@ -51,9 +51,10 @@
|
|||
position: sticky;
|
||||
}
|
||||
div.sticky {
|
||||
top: 4em;
|
||||
top: 1.75rem;
|
||||
position: sticky;
|
||||
background-color: var(--background);
|
||||
padding-top: .5em;
|
||||
}
|
||||
a.upub-title {
|
||||
color: var(--primary);
|
||||
|
|
|
@ -293,7 +293,7 @@ pub fn Object(object: serde_json::Value) -> impl IntoView {
|
|||
let author = CACHE.get(&author_id).unwrap_or(serde_json::Value::String(author_id.clone()));
|
||||
view! {
|
||||
<div>
|
||||
<table class="post-table pa-1 mb-s" >
|
||||
<table class="w-100 post-table pa-1 mb-s" >
|
||||
{move || if !summary.is_empty() {
|
||||
view! {
|
||||
<tr class="post-table" >
|
||||
|
|
Loading…
Reference in a new issue