ellipsize page bar title

This commit is contained in:
Jon Staab
2025-03-04 10:00:24 -08:00
parent 3a42a1b560
commit 1c0b2a09df
3 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,16 @@
# Changelog
# 0.2.12
* Fix keyboard covering chat input
* Fix thread replies
* Make error reporting and analytics optional
* Replace long press with tap target
* Fix time input
* Fix nevent hints for url-specific stuff
* Add alerts via Anchor
* Fix confirm and reactions on mobile
# 0.2.11
* Add in-app signup flow on ios

View File

@@ -12,7 +12,7 @@
<div class="relative z-feature rounded-xl px-2 pt-2 {props.class}">
<div
class="flex min-h-12 items-center justify-between gap-4 rounded-xl bg-base-100 px-4 shadow-xl">
<div class="flex items-center gap-4">
<div class="ellipsize flex items-center gap-4 whitespace-nowrap">
{@render props.icon?.()}
{@render props.title?.()}
</div>

View File

@@ -239,7 +239,7 @@
</div>
{/snippet}
{#snippet title()}
<strong>
<strong class="ellipsize">
<ChannelName {url} {room} />
</strong>
{/snippet}