Stop showing source URLs in the Sources list — they were breaking the layout
A long RSS/Google News URL with no natural wrap points would overflow its grid column and break the whole row layout. The URL is still visible (and editable) via the edit form — the list row now only shows a status line when there's something to say (poll result, error, or a just-cleared note).
This commit is contained in:
@@ -220,6 +220,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div>
|
<div>
|
||||||
<div class="name">{source.name}</div>
|
<div class="name">{source.name}</div>
|
||||||
|
{#if justCleared?.id === source.id || justPolled?.id === source.id || source.lastError}
|
||||||
<div
|
<div
|
||||||
class="sub"
|
class="sub"
|
||||||
class:error={source.lastError && !justPolled && !justCleared}
|
class:error={source.lastError && !justPolled && !justCleared}
|
||||||
@@ -231,10 +232,9 @@
|
|||||||
{justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'}
|
{justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'}
|
||||||
{:else if source.lastError}
|
{:else if source.lastError}
|
||||||
last poll failed · {source.lastError}
|
last poll failed · {source.lastError}
|
||||||
{:else}
|
|
||||||
{source.url}
|
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<span class="badge">{source.type.toUpperCase()}</span>
|
<span class="badge">{source.type.toUpperCase()}</span>
|
||||||
<span class="cat">{source.category.join(', ')}</span>
|
<span class="cat">{source.category.join(', ')}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user