1
0
Fork 0
forked from alemi/upub

fix(web): menu sticking on mobile, post sizing

This commit is contained in:
əlemi 2024-04-17 05:51:10 +02:00
parent a83b557513
commit a2715d2978
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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" >