Skip to content

Commit

Permalink
Fix width Td and background
Browse files Browse the repository at this point in the history
  • Loading branch information
eltonsantos committed Jan 21, 2025
1 parent f0c1eb7 commit d9b6adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/commitments/previous.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900"><%= number_to_percentage(previous_commitment.progress, precision: @progress_percentage.to_i == @progress_percentage ? 0 : 2, locale: :'pt-BR') %></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<td class="px-2 py-4 whitespace-normal break-words max-w-xs">
<% if previous_commitment.tasks.any? %>
<ul class="list-disc ml-5">
<% previous_commitment.tasks.each do |task| %>
<li class="mb-2">
<li class="mb-2 bg-slate-200 p-4 list-none">
<strong>Título:</strong> <%= task.title %> <br>
<strong>Categoria:</strong> <%= task.category.name %> <br>
<strong>Horas:</strong> <%= task.formatted_hours %> <br>
Expand Down

0 comments on commit d9b6adc

Please sign in to comment.