diff --git a/app/components/DS/buttonish.rb b/app/components/DS/buttonish.rb index 653151f95..3806cec43 100644 --- a/app/components/DS/buttonish.rb +++ b/app/components/DS/buttonish.rb @@ -77,7 +77,13 @@ class DS::Buttonish < DesignSystemComponent def container_classes(override_classes = nil) class_names( - "font-medium whitespace-nowrap", + # Tailwind v4 preflight sets `cursor: pointer` on all <% end %> @@ -139,7 +147,7 @@ · <%= @grid_goals.size %> -
+
<% @grid_goals.each do |goal| %> <%= render Goals::CardComponent.new(goal: goal) %> <% end %> @@ -179,7 +187,7 @@ <%= @archived_goals.size %> <% end %> -
+
<% @archived_goals.each do |goal| %> <%= render Goals::CardComponent.new(goal: goal, filterable: false) %> <% end %> diff --git a/app/views/goals/show.html.erb b/app/views/goals/show.html.erb index 21bc8ec22..6409f4d87 100644 --- a/app/views/goals/show.html.erb +++ b/app/views/goals/show.html.erb @@ -224,7 +224,7 @@ <% end %>
-
" diff --git a/config/locales/views/goals/en.yml b/config/locales/views/goals/en.yml index 031633272..cf2a5a57a 100644 --- a/config/locales/views/goals/en.yml +++ b/config/locales/views/goals/en.yml @@ -2,6 +2,7 @@ en: goals: color_picker: + trigger_label: Choose color and icon color_heading: Color icon_heading: Icon poor_contrast: Poor contrast, choose darker color or @@ -222,9 +223,6 @@ en: days_left: one: 1 day left other: "%{count} days left" - days_left_by: - one: 1 day left · by %{date} - other: "%{count} days left · by %{date}" pace_with_target: "%{avg}/mo · target %{target}/mo" pace_no_target: "%{avg}/mo avg" footer_paused: Paused