diff --git a/web/index.html b/web/index.html index 3304329e..e43d1b98 100644 --- a/web/index.html +++ b/web/index.html @@ -95,7 +95,6 @@ margin: 0 0 0 .5em; } article.float-container { - overflow-y: hidden; } b.displayname { overflow-wrap: break-word; diff --git a/web/src/lib.rs b/web/src/lib.rs index c9cb58ec..b0bde304 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -217,7 +217,8 @@ impl Uri { bare } else { format!("{}..", bare.get(..len).unwrap_or_default()) - }.replace('/', "\u{200B}/\u{200B}") + } + //.replace('/', "\u{200B}/\u{200B}") } pub fn short(url: &str) -> String { diff --git a/web/src/objects/item.rs b/web/src/objects/item.rs index 8b3a422a..1aad8314 100644 --- a/web/src/objects/item.rs +++ b/web/src/objects/item.rs @@ -60,7 +60,7 @@ pub fn Object( let audience_badge = object.audience().id().str() .map(|x| view! { - + & {Uri::pretty(&x, 30)} @@ -75,13 +75,13 @@ pub fn Object( let href = Uri::web(U::Hashtag, &name); Some(view! { - + # {name} - + " " }) } else { None @@ -155,9 +155,11 @@ pub fn Object(
{if !reply { Some(hashtag_badges) } else { None }} {if !reply { audience_badge } else { None }} - - - + + + + +
} }