Skip to content

Commit

Permalink
Merge pull request #218 from dwyl/edit-tags-table-#217
Browse files Browse the repository at this point in the history
Display long tag name with ellipsis
  • Loading branch information
nelsonic authored Nov 29, 2022
2 parents d15e8d8 + ad887ce commit 0c94ca3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/app_web/templates/tag/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
<.td>
<span
style={"background-color:#{tag.color}"}
class="text-white font-bold py-1 px-2 rounded-full"
class="w-40 text-white font-bold py-1 px-2 rounded-full
overflow-hidden text-ellipsis whitespace-nowrap inline-block"
>
<%= tag.text %>
</span>
Expand Down

0 comments on commit 0c94ca3

Please sign in to comment.