mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
* Dashboard design fixes * Update dashboard greeting * Remove sidebar toggle from settings breadcrumbs * Autofocus and outlines for category dropdowns * Lint fixes
12 lines
465 B
Plaintext
12 lines
465 B
Plaintext
<%= turbo_frame_tag "#{@accountable.model_name.param_key}_sparkline" do %>
|
|
<div class="flex items-center justify-end gap-1">
|
|
<div class="w-8 h-3">
|
|
<%= render "shared/sparkline", id: dom_id(@accountable, :sparkline_chart), series: @series %>
|
|
</div>
|
|
|
|
<%= tag.p @series.trend.percent_formatted,
|
|
style: "color: #{@series.trend.color}",
|
|
class: "font-mono text-right text-xs font-medium text-primary" %>
|
|
</div>
|
|
<% end %>
|