Attempt to fix wrapping on relay summary on ios

This commit is contained in:
Jon Staab
2026-05-06 16:39:01 -07:00
parent 94db65b85e
commit 3833cb093d
2 changed files with 6 additions and 7 deletions
+1
View File
@@ -235,6 +235,7 @@
:root {
font-family: Lato;
text-size-adjust: 100%;
--sait: var(--safe-area-inset-top, env(safe-area-inset-top));
--saib: var(--safe-area-inset-bottom, env(safe-area-inset-bottom));
--sail: var(--safe-area-inset-left, env(safe-area-inset-left));
+5 -7
View File
@@ -19,12 +19,12 @@
<div class="col-4 text-left">
<div class="col-2">
<div class="relative flex gap-4">
<div class="relative flex gap-2 sm:gap-4">
<div class="relative">
<div class="avatar relative">
<div
class="center flex! h-12 w-12 min-w-12 rounded-full border-2 border-solid border-base-300 bg-base-300">
<RelayIcon {url} />
<RelayIcon {url} size={10} />
</div>
</div>
{#if $rooms.includes(url)}
@@ -36,13 +36,11 @@
{/if}
</div>
<div class="min-w-0">
<h2 class="ellipsize whitespace-nowrap text-xl">
<RelayName {url} />
</h2>
<p class="text-sm opacity-75">{url}</p>
<RelayName {url} class="ellipsize whitespace-nowrap text-lg sm:text-xl" />
<p class="text-xs sm:text-sm opacity-75">{url}</p>
</div>
</div>
<RelayDescription {url} />
<RelayDescription {url} class="text-sm sm:text-md" />
</div>
{#if !hideFavorites && $favorited.size > 0}
<div class="row-2 card2 card2-sm bg-alt">