Skip to content

Commit

Permalink
remove truncation in hero video
Browse files Browse the repository at this point in the history
  • Loading branch information
zcesur committed Sep 24, 2024
1 parent 156ab55 commit 55890b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/algora_web/live/home_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ defmodule AlgoraWeb.HomeLive do
</div>
<div class="hidden sm:block absolute inset-0 bg-gradient-to-b from-gray-950 to-transparent to-30%">
</div>
<div class="absolute my-auto top-1/2 -translate-y-1/2 left-8 w-1/2 sm:truncate">
<div class="absolute my-auto top-1/2 -translate-y-1/2 left-8 w-1/2">
<div
:if={@hero_video.is_live}
class="pl-2 mb-2 text-white bg-red-500 rounded-xl font-semibold inline-flex items-center py-0.5"
Expand All @@ -192,7 +192,7 @@ defmodule AlgoraWeb.HomeLive do
<div class="text-4xl sm:text-7xl font-bold [text-shadow:#020617_1px_0_10px]">
<%= @hero_video.channel_name %>
</div>
<div class="pt-2 text-lg sm:text-xl [text-shadow:#020617_1px_0_10px] font-medium sm:truncate">
<div class="pt-2 text-lg sm:text-xl [text-shadow:#020617_1px_0_10px] font-medium">
<%= @hero_video.title %>
</div>
</div>
Expand Down

0 comments on commit 55890b6

Please sign in to comment.