1
0
mirror of https://github.com/algora-io/tv.git synced 2024-11-26 01:00:20 +02:00

minor fixes

This commit is contained in:
zafer 2024-10-15 19:16:51 +03:00
parent 824c2931f2
commit 0a8f716872
2 changed files with 5 additions and 2 deletions

View File

@ -185,7 +185,10 @@ defmodule AlgoraWeb.CoreComponents do
def live_billboard(assigns) do
~H"""
<div
class={["relative w-[1092px] h-[135px] transition-opacity duration-1000", @class]}
class={[
"relative aspect-[1092/135] max-h-[135px] max-w-[1092px] h-full w-full transition-opacity duration-1000",
@class
]}
phx-hook="LiveBillboard"
data-urls={Jason.encode!(@ad.composite_asset_urls)}
id={@id}

View File

@ -169,7 +169,7 @@
</div>
</div>
<div :if={@blurb.video} class="flex flex-col sm:flex-row items-center justify-between gap-4">
<div :if={@blurb} class="flex flex-col sm:flex-row items-center justify-between gap-4">
<div class="w-full cursor-pointer">
<.live_component module={PlayerComponent} id="analytics-player" />
</div>