diff --git a/web/index.html b/web/index.html index 528ecdc2..b4d81ec0 100644 --- a/web/index.html +++ b/web/index.html @@ -162,7 +162,7 @@ img { max-width: 100%; } - img.avatar-circle { + img.avatar { display: inline; border-radius: 50%; } @@ -170,14 +170,14 @@ background-color: var(--background); border: .3em solid var(--accent); } - img.avatar-inline { - display: inline; + img.inline { height: .75em; - border-radius: 50%; } - img.inline-avatar { - height: 2em; - width: 2em; + img.avatar-actor { + min-height: 2em; + max-height: 2em; + min-width: 2em; + max-width: 2em; } .box { border: 3px solid var(--accent); @@ -309,7 +309,7 @@ var(--background) 1em ); } - .loader { + .spinner { animation: spin 1s linear infinite; } span.dots { diff --git a/web/src/components/user.rs b/web/src/components/user.rs index 0c11d4ba..c99d1fbd 100644 --- a/web/src/components/user.rs +++ b/web/src/components/user.rs @@ -11,7 +11,7 @@ pub fn ActorStrip(object: crate::Object) -> impl IntoView { let avatar = object.icon().get().map(|x| x.url().id().unwrap_or(DEFAULT_AVATAR_URL.into())).unwrap_or(DEFAULT_AVATAR_URL.into()); view! { - {username}@{domain} + {username}@{domain} } } @@ -33,7 +33,7 @@ pub fn ActorBanner(object: crate::Object) -> impl IntoView {