|
|
|
|
@ -45,9 +45,9 @@ defmodule PlausibleWeb.Live.Components.Visitors do
|
|
|
|
|
</defs>
|
|
|
|
|
<rect
|
|
|
|
|
x="-20"
|
|
|
|
|
y="0"
|
|
|
|
|
y="2"
|
|
|
|
|
width={25 * 20}
|
|
|
|
|
height={@height + 1}
|
|
|
|
|
height={@height}
|
|
|
|
|
fill="url(#chart-gradient-cut-off)"
|
|
|
|
|
clip-path={"url(#gradient-cut-off-#{@id})"}
|
|
|
|
|
/>
|
|
|
|
|
@ -61,8 +61,8 @@ defmodule PlausibleWeb.Live.Components.Visitors do
|
|
|
|
|
<svg width="0" height="0">
|
|
|
|
|
<defs class="text-white dark:text-indigo-800">
|
|
|
|
|
<linearGradient id="chart-gradient-cut-off" x1="0" x2="0" y1="0" y2="1">
|
|
|
|
|
<stop offset="0%" stop-color="#6574cd" />
|
|
|
|
|
<stop offset="90%" stop-color="currentColor" />
|
|
|
|
|
<stop offset="0%" stop-color="#6366f1" />
|
|
|
|
|
<stop offset="100%" stop-color="currentColor" />
|
|
|
|
|
</linearGradient>
|
|
|
|
|
</defs>
|
|
|
|
|
</svg>
|
|
|
|
|
|