aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/home.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-24 00:55:55 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-24 00:55:55 +0100
commit76f8a0223b1759022a2c2d4e115e6b385548d2aa (patch)
tree0d7352e612e53dfb58f82592efba1a115ab9afef /server/src/routes/ui/home.rs
parent877eadc661b3b017ae843049e2b3106f3c8a7539 (diff)
downloadjellything-76f8a0223b1759022a2c2d4e115e6b385548d2aa.tar
jellything-76f8a0223b1759022a2c2d4e115e6b385548d2aa.tar.bz2
jellything-76f8a0223b1759022a2c2d4e115e6b385548d2aa.tar.zst
replace table-cell base hlist with inline-block so firefox' layout engine get freaked out
Diffstat (limited to 'server/src/routes/ui/home.rs')
-rw-r--r--server/src/routes/ui/home.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/server/src/routes/ui/home.rs b/server/src/routes/ui/home.rs
index 9a00532..3abc9e9 100644
--- a/server/src/routes/ui/home.rs
+++ b/server/src/routes/ui/home.rs
@@ -84,29 +84,29 @@ pub fn r_home(sess: Session, db: &State<DataAcid>) -> MyResult<DynLayoutPage> {
title: "Home".to_string(),
content: markup::new! {
h2 { "Explore " @CONF.brand }
- .hlist { ul {@for (id, node, udata) in &toplevel {
+ ul.hlist {@for (id, node, udata) in &toplevel {
li { @NodeCard { id, node, udata } }
- }}}
+ }}
@if !continue_watching.is_empty() {
h2 { "Continue Watching" }
- .hlist { ul {@for (id, node, udata) in &continue_watching {
+ ul.hlist {@for (id, node, udata) in &continue_watching {
li { @NodeCard { id, node, udata } }
- }}}
+ }}
}
@if !watchlist.is_empty() {
h2 { "Watchlist" }
- .hlist { ul {@for (id, node, udata) in &watchlist {
+ ul.hlist {@for (id, node, udata) in &watchlist {
li { @NodeCard { id, node, udata } }
- }}}
+ }}
}
h2 { "Latest Releases" }
- .hlist { ul {@for (id, node, udata) in &latest {
+ ul.hlist {@for (id, node, udata) in &latest {
li { @NodeCard { id, node, udata } }
- }}}
+ }}
h2 { "Today's Picks" }
- .hlist { ul {@for (id, node, udata) in &random {
+ ul.hlist {@for (id, node, udata) in &random {
li { @NodeCard { id, node, udata } }
- }}}
+ }}
p.error { "TODO: recently added" }
p.error { "TODO: best rating" }
},