Skip to content

Commit

Permalink
fix: fix text overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trueChazza committed Feb 24, 2022
1 parent 0b24c06 commit aaf5412
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/media_server_web/components/poster_component.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="mt-2 flex">
<h3 class="text-sm text-slate-600">
<%= live_redirect to: @link, class: "font-medium truncate hover:text-slate-800 hover:underline" do %>
<%= live_redirect to: @link, class: "hover:text-slate-800 hover:underline" do %>
<span aria-hidden="true" class="absolute inset-0"></span>
<%= @title %>
<% end %>
Expand Down
4 changes: 2 additions & 2 deletions lib/media_server_web/components/watch_component.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<%= live_redirect "", to: @link, style: "background-image: url('#{ @image_url }')", class: "bg-cover flex-shrink-0 flex items-center justify-center w-16 text-white text-sm font-medium rounded-l-md hover:opacity-75" %>

<div class="flex-1 flex items-center justify-between border-t border-r border-b border-slate-200 bg-white rounded-r-md truncate">
<div class="flex-1 px-4 py-2 text-sm truncate">
<%= live_redirect to: @link, class: "text-slate-600 font-medium truncate hover:text-slate-800 hover:underline" do %>
<div class="flex-1 px-4 py-2 text-sm text-slate-600 truncate">
<%= live_redirect to: @link, class: "hover:text-slate-800 hover:underline" do %>
<%= @title %>
<% end %>
<div class="w-full bg-slate-200 h-1 mt-4">
Expand Down

0 comments on commit aaf5412

Please sign in to comment.