PR-C0: card-style no-video tiles (border + backdrop label) #3
3 changed files with 2 additions and 12 deletions
BIN
pnpm-lock.yaml
BIN
pnpm-lock.yaml
Binary file not shown.
|
|
@ -16,14 +16,4 @@ minimumReleaseAgeExclude:
|
||||||
- '@welshman/store'
|
- '@welshman/store'
|
||||||
- '@welshman/util'
|
- '@welshman/util'
|
||||||
overrides:
|
overrides:
|
||||||
'@welshman/app': link:../welshman/packages/app
|
|
||||||
'@welshman/content': link:../welshman/packages/content
|
|
||||||
'@welshman/domain': link:../welshman/packages/domain
|
|
||||||
'@welshman/editor': link:../welshman/packages/editor
|
|
||||||
'@welshman/feeds': link:../welshman/packages/feeds
|
|
||||||
'@welshman/lib': link:../welshman/packages/lib
|
|
||||||
'@welshman/net': link:../welshman/packages/net
|
|
||||||
'@welshman/signer': link:../welshman/packages/signer
|
|
||||||
'@welshman/store': link:../welshman/packages/store
|
|
||||||
'@welshman/util': link:../welshman/packages/util
|
|
||||||
sharp: ^0.35.3
|
sharp: ^0.35.3
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
{@const media = $mediaStateByIdentity(tile.liveKitIdentity)}
|
{@const media = $mediaStateByIdentity(tile.liveKitIdentity)}
|
||||||
<div
|
<div
|
||||||
class={cx(
|
class={cx(
|
||||||
"relative isolate overflow-hidden rounded-2xl shadow-sm",
|
"relative isolate overflow-hidden rounded-2xl border border-line",
|
||||||
layout === "spotlight" && "min-h-0 flex-1",
|
layout === "spotlight" && "min-h-0 flex-1",
|
||||||
layout === "default" && "aspect-video w-full min-h-0",
|
layout === "default" && "aspect-video w-full min-h-0",
|
||||||
layout === "strip" && "aspect-video w-44 shrink-0",
|
layout === "strip" && "aspect-video w-44 shrink-0",
|
||||||
|
|
@ -248,7 +248,7 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<span
|
<span
|
||||||
class="pointer-events-none absolute bottom-1 left-1 max-w-[calc(100%-0.5rem)] truncate rounded bg-surface/80 px-1.5 py-0.5 text-xs">
|
class="pointer-events-none absolute bottom-1 left-1 max-w-[calc(100%-0.5rem)] truncate rounded bg-backdrop/80 px-1.5 py-0.5 text-xs">
|
||||||
{labelFor(tile.liveKitIdentity, tile.source)}{tile.isLocal ? " (you)" : ""}
|
{labelFor(tile.liveKitIdentity, tile.source)}{tile.isLocal ? " (you)" : ""}
|
||||||
</span>
|
</span>
|
||||||
{#if videoTiles.length > 1}
|
{#if videoTiles.length > 1}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue