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;
|
position: sticky;
|
||||||
}
|
}
|
||||||
div.sticky {
|
div.sticky {
|
||||||
top: 4em;
|
top: 1.75rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
|
padding-top: .5em;
|
||||||
}
|
}
|
||||||
a.upub-title {
|
a.upub-title {
|
||||||
color: var(--primary);
|
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()));
|
let author = CACHE.get(&author_id).unwrap_or(serde_json::Value::String(author_id.clone()));
|
||||||
view! {
|
view! {
|
||||||
<div>
|
<div>
|
||||||
<table class="post-table pa-1 mb-s" >
|
<table class="w-100 post-table pa-1 mb-s" >
|
||||||
{move || if !summary.is_empty() {
|
{move || if !summary.is_empty() {
|
||||||
view! {
|
view! {
|
||||||
<tr class="post-table" >
|
<tr class="post-table" >
|
||||||
|
|
Loading…
Reference in a new issue