diff --git a/assets/css/app.css b/assets/css/app.css index 2bbea503b..7f38b126a 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -63,6 +63,12 @@ blockquote { @tailwind utilities; +#main-graph { + @screen sm { + height: 460px; + } +} + a { color: inherit; } @@ -191,19 +197,6 @@ a { left: auto; } - -.group:hover > .group-hover-fill-red > svg { - fill: #ff6978!important; -} - -.group:hover > .group-hover-fill-red { - color: #ff6978; -} - -.group-hover-fill-red svg { - transition: all .1 ease-in; -} - .feather { height: 1em; width: 1em; diff --git a/lib/plausible_web/templates/stats/stats.html.eex b/lib/plausible_web/templates/stats/stats.html.eex index 53d3104fb..7788a4304 100644 --- a/lib/plausible_web/templates/stats/stats.html.eex +++ b/lib/plausible_web/templates/stats/stats.html.eex @@ -6,17 +6,17 @@ <% end %>
-
-

Analytics for <%= link(@site.domain, to: "//" <> @site.domain, target: "_blank") %>

-
+
+

Analytics for <%= link(@site.domain, to: "//" <> @site.domain, target: "_blank") %>

+
<%= @current_visitors %> current visitors
-
-
+
+
<%= if @query.period == "month" do %>
<%= link(to: "/#{@site.domain}?period=month&date=#{@query.date_range.first |> Timex.shift(months: -1) |> Timex.format!("{ISOdate}")}", class: "flex items-center px-2 border-r border-grey-light") do %> @@ -47,7 +47,7 @@
<% end %> -
+
<%= timeframe_text(@site, @query) %> @@ -74,7 +74,7 @@
-
+