authoravatarclover caruso<git@paperclover.net>2026-10-18 12:45:30-07:00
committeravatarclover caruso<git@paperclover.net>2026-10-21 02:52:29-07:00
log907a0c3cbb0d2f4d6ad1fbbd59dca3ba8c1a8600
treebf616ea36057bf0828dc7f7ac6879ea977b59788
parent3f2eae68f776ba57942433c2ac23de6277333af9
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU

Balance spacing around Shale author provider marks

Shale already adds a right margin to the mark, which left it pressed against the avatar. Match it on the left. Assisted-by: claude-opus-5.5

1 files changed, 1 insertions(+), 1 deletions(-)

dashboard/src/shale_page.rs+1-1
...@@ -278,7 +278,7 @@ fn rewrite(html: &str, origin: &url::Url, profiles: &HashMap<String, Profile>, a...@@ -278,7 +278,7 @@ fn rewrite(html: &str, origin: &url::Url, profiles: &HashMap<String, Profile>, a
278 element.prepend(&avatar(picture), ContentType::Html);278 element.prepend(&avatar(picture), ContentType::Html);
279 }279 }
280 if profile.owner.is_some() { element.append("<span class=\"va-middle-childs\" style=\"white-space:nowrap\">", ContentType::Html); }280 if profile.owner.is_some() { element.append("<span class=\"va-middle-childs\" style=\"white-space:nowrap\">", ContentType::Html); }
281 let dimensions = if ai_profile.is_some() || profile.owner.is_some() { "width:1em;height:1em;margin-right:.25em" } else { "width:.85em;height:.85em;flex-shrink:0" };281 let dimensions = if ai_profile.is_some() || profile.owner.is_some() { "width:1em;height:1em;margin-right:.25em" } else { "width:.85em;height:.85em;margin-left:.25em;flex-shrink:0" };
282 let icon = profile.icon.trim().replace("<svg ", &format!("<svg aria-hidden=\"true\" focusable=\"false\" style=\"color:inherit;stroke:currentColor;{dimensions}\" "));282 let icon = profile.icon.trim().replace("<svg ", &format!("<svg aria-hidden=\"true\" focusable=\"false\" style=\"color:inherit;stroke:currentColor;{dimensions}\" "));
283 let icon = if profile.url.is_some() { icon.replace("<path ", "<path style=\"fill:currentColor;stroke:none\" ") } else { icon };283 let icon = if profile.url.is_some() { icon.replace("<path ", "<path style=\"fill:currentColor;stroke:none\" ") } else { icon };
284 element.append(&icon, ContentType::Html);284 element.append(&icon, ContentType::Html);