ui fix
This commit is contained in:
parent
cc701e007b
commit
df7f22a38b
@ -77,7 +77,7 @@ $: {
|
|||||||
|
|
||||||
{#if data?.user?.tier === 'Pro'}
|
{#if data?.user?.tier === 'Pro'}
|
||||||
<!--Start Header-->
|
<!--Start Header-->
|
||||||
<div class="bg-[#313131] w-fit relative flex flex-wrap items-center justify-center rounded-full sm:rounded-lg p-1 -mt-2">
|
<div class="bg-[#313131] w-fit relative flex flex-wrap items-center justify-center rounded-lg p-1 -mt-2">
|
||||||
<AnimateSharedLayout>
|
<AnimateSharedLayout>
|
||||||
{#each tabs as item, i}
|
{#each tabs as item, i}
|
||||||
<button
|
<button
|
||||||
@ -94,7 +94,7 @@ $: {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
use:motion
|
use:motion
|
||||||
class="absolute inset-0 rounded-full sm:rounded-lg {activeIdx === 0 ? 'bg-[#057A55]' : 'bg-[#E02424]'}"
|
class="absolute inset-0 rounded-lg bg-purple-600"
|
||||||
></div>
|
></div>
|
||||||
</Motion>
|
</Motion>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@ -882,7 +882,7 @@ function changeChartType() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<label on:click={changeChartType} class="ml-auto -mt-3 block cursor-pointer bg-[#09090B] sm:hover:bg-[#09090B] duratiion-100 transition ease-in-out px-3 py-1 rounded-lg shadow-sm">
|
<label on:click={changeChartType} class="ml-auto -mt-3 block cursor-pointer bg-purple-600 sm:hover:bg-purple-700 duratiion-100 transition ease-in-out px-3 py-1 rounded-lg shadow-sm">
|
||||||
{#if displayChartType === 'line'}
|
{#if displayChartType === 'line'}
|
||||||
<svg class="w-6 h-6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M7 20v-2H5V6h2V4h2v2h2v12H9v2zm8 0v-5h-2V8h2V4h2v4h2v7h-2v5z"/></svg>
|
<svg class="w-6 h-6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M7 20v-2H5V6h2V4h2v2h2v12H9v2zm8 0v-5h-2V8h2V4h2v4h2v7h-2v5z"/></svg>
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user