add: message notifications

This commit is contained in:
trisua 2025-09-07 10:44:14 -04:00
parent ca1eca967c
commit 361d3d8e30
9 changed files with 100 additions and 13 deletions

View file

@ -111,7 +111,7 @@
(text "{% if replying_to -%}")
(div
("style" "transform: scale(0.8); opacity: 75%; width: 110%")
("class" "message_reply_wrapper")
(text "{{ self::message(message=replying_to, hide_actions=true) }}"))
(text "{%- endif %}")
(text "{%- endmacro %}")

View file

@ -58,7 +58,9 @@
("class" "card_nest w_full")
("style" "max-width: 25rem")
(div
("class" "card banner"))
("class" "card banner")
(img
("src" "{{ config.service_hosts.buckets }}/banners/{{ profile.id }}")))
(div
("class" "card flex flex_col gap_ch")
(text "{{ components::avatar(id=profile.id, size=\"160px\") }}")
@ -134,12 +136,17 @@
}
.profile .banner {
background-image: url(\"{{ config.service_hosts.buckets }}/banners/{{ profile.id }}\") !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: cover !important;
border-radius: var(--radius) var(--radius) 0 0;
height: 225px;
overflow: hidden;
padding: 0 !important;
}
.profile .banner img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.card_nest .card:nth-child(2) {