Compare commits

..

2 Commits

8 changed files with 25 additions and 11 deletions

10
Cargo.lock generated
View File

@ -2910,7 +2910,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "letterbox"
version = "0.0.132"
version = "0.0.133"
dependencies = [
"build-info",
"build-info-build",
@ -2936,7 +2936,7 @@ dependencies = [
[[package]]
name = "letterbox-server"
version = "0.0.132"
version = "0.0.133"
dependencies = [
"ammonia",
"anyhow",
@ -3457,7 +3457,7 @@ dependencies = [
[[package]]
name = "notmuch"
version = "0.0.132"
version = "0.0.133"
dependencies = [
"itertools 0.10.5",
"log",
@ -4252,7 +4252,7 @@ dependencies = [
[[package]]
name = "procmail2notmuch"
version = "0.0.132"
version = "0.0.133"
dependencies = [
"anyhow",
]
@ -5331,7 +5331,7 @@ dependencies = [
[[package]]
name = "shared"
version = "0.0.132"
version = "0.0.133"
dependencies = [
"build-info",
"notmuch",

View File

@ -1,6 +1,6 @@
[package]
name = "notmuch"
version = "0.0.132"
version = "0.0.133"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "procmail2notmuch"
version = "0.0.132"
version = "0.0.133"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "letterbox-server"
version = "0.0.132"
version = "0.0.133"
edition = "2021"
default-run = "letterbox-server"

View File

@ -1,6 +1,6 @@
[package]
name = "shared"
version = "0.0.132"
version = "0.0.133"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,5 +1,5 @@
[package]
version = "0.0.132"
version = "0.0.133"
name = "letterbox"
repository = "https://github.com/seed-rs/seed-quickstart"
authors = ["Bill Thiede <git@xinu.tv>"]

View File

@ -819,7 +819,12 @@ fn thread(
]]
],
],
div![C!["lg:mt-4"], el_ref(content_el), messages, click_to_top()],
div![
C!["lg:mt-4", "mail-thread"],
el_ref(content_el),
messages,
click_to_top()
],
/* TODO(wathiede): plumb in orignal id
a![
attrs! {At::Href=>api::original(&thread_node.0.as_ref().expect("message missing").id)},

View File

@ -2,17 +2,23 @@ html {
background-color: black;
}
.mail-thread a,
.news-post a {
color: var(--color-link) !important;
text-decoration: underline;
}
.mail-thread br,
.news-post br {
display: block;
margin-top: 1em;
content: " ";
}
.mail-thread h1,
.mail-thread h2,
.mail-thread h3,
.mail-thread h4,
.news-post h1,
.news-post h2,
.news-post h3,
@ -21,10 +27,13 @@ html {
margin-bottom: 1em !important;
}
.mail-thread p,
.news-post p {
margin-bottom: 1em;
}
.mail-thread pre,
.mail-thread code,
.news-post pre,
.news-post code {
font-family: monospace;