Skip to content

Commit

Permalink
fix(charts): make the text and chevron clickable
Browse files Browse the repository at this point in the history
fix #2368
  • Loading branch information
BreadGenie committed Jan 3, 2025
1 parent 873be08 commit a2d11ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions dashboard/src2/components/server/ServerCharts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,14 @@
/>
</AnalyticsCard>
</div>
<div class="!mt-6 flex space-x-2">
<div
class="!mt-6 flex w-fit cursor-pointer space-x-2"
@click="toggleAdvancedAnalytics"
>
<h2 class="text-lg font-semibold">Advanced Analytics</h2>
<FeatherIcon
class="h-5 w-5 cursor-pointer text-gray-500 hover:text-gray-700"
class="h-5 w-5 text-gray-500 hover:text-gray-700"
:name="showAdvancedAnalytics ? 'chevron-down' : 'chevron-right'"
@click="toggleAdvancedAnalytics"
/>
</div>

Expand Down
8 changes: 5 additions & 3 deletions dashboard/src2/components/site/SiteAnalytics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@
</AnalyticsCard>
</div>

<div class="!mt-6 flex space-x-2">
<div
class="!mt-6 flex w-fit cursor-pointer space-x-2"
@click="toggleAdvancedAnalytics"
>
<h2 class="text-lg font-semibold">Advanced Analytics</h2>
<FeatherIcon
class="h-5 w-5 cursor-pointer text-gray-500 hover:text-gray-700"
class="h-5 w-5 text-gray-500 hover:text-gray-700"
:name="showAdvancedAnalytics ? 'chevron-down' : 'chevron-right'"
@click="toggleAdvancedAnalytics"
/>
</div>

Expand Down

0 comments on commit a2d11ee

Please sign in to comment.