From b7b84d15b760c9cd4408fc6afe7a5846e9194e99 Mon Sep 17 00:00:00 2001 From: trisua Date: Sun, 15 Jun 2025 19:19:41 -0400 Subject: [PATCH] add: style blockquotes --- crates/app/src/public/css/root.css | 6 ++++++ crates/app/src/public/html/stacks/feed.lisp | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/crates/app/src/public/css/root.css b/crates/app/src/public/css/root.css index 1614a5e..a0f95f5 100644 --- a/crates/app/src/public/css/root.css +++ b/crates/app/src/public/css/root.css @@ -344,3 +344,9 @@ img.emoji { height: 1em; aspect-ratio: 1 / 1; } + +blockquote { + padding-left: 1rem; + border-left: solid 5px var(--color-super-lowered); + font-style: italic; +} diff --git a/crates/app/src/public/html/stacks/feed.lisp b/crates/app/src/public/html/stacks/feed.lisp index 3997e9c..51f6546 100644 --- a/crates/app/src/public/html/stacks/feed.lisp +++ b/crates/app/src/public/html/stacks/feed.lisp @@ -68,7 +68,12 @@ (text "{% if stack.mode == 'Circle' -%}") (div ("class" "flex w-full gap-2 flex-wrap") - (text "{% for user in stack.users %} {{ components::avatar(username=user, selector_type=\"id\", size=\"24px\") }} {% endfor %}")) + (text "{% for user in stack.users %}") + (a + ("href" "/api/v1/auth/user/find/{{ user }}") + ("class" "flush") + (text "{{ components::avatar(username=user, selector_type=\"id\", size=\"24px\") }}")) + (text "{% endfor %}")) (text "{%- endif %}") ; posts for all stacks except blocklist