Skip to content

Commit

Permalink
Use max-width instead of width for tag name
Browse files Browse the repository at this point in the history
Use max width for tag name
see: #217 (comment)
  • Loading branch information
SimonLab committed Nov 29, 2022
1 parent ad887ce commit e140b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 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,7 @@
<.td>
<span
style={"background-color:#{tag.color}"}
class="w-40 text-white font-bold py-1 px-2 rounded-full
class="max-w-[144px] text-white font-bold py-1 px-2 rounded-full
overflow-hidden text-ellipsis whitespace-nowrap inline-block"
>
<%= tag.text %>
Expand Down

0 comments on commit e140b59

Please sign in to comment.