Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Make sure imported data switch appears on Safari (#5872)

Artur Pata2ca24e77cc77
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0d52136969..253db9f67b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -45,6 +45,7 @@ All notable changes to this project will be documented in this file.
- Fixed unhandled tracker-related exceptions on link clicks within svgs
- Remove Subscription and Invoices menu from CE
- Fix email sending error "Mua.SMTPError" 503 Bad sequence of commands
+- Make button to include / exclude imported data visible on Safari
## v3.0.0 - 2025-04-11
diff --git a/assets/js/dashboard/stats/graph/with-imported-switch.tsx b/assets/js/dashboard/stats/graph/with-imported-switch.tsx
index d916347c84..c5ef778e2f 100644
--- a/assets/js/dashboard/stats/graph/with-imported-switch.tsx
+++ b/assets/js/dashboard/stats/graph/with-imported-switch.tsx
@@ -15,7 +15,7 @@ export default function WithImportedSwitch({
const { query } = useQueryContext()
const importsSwitchedOn = query.with_imported
- const iconClass = classNames({
+ const iconClass = classNames('size-4', {
'dark:text-gray-300 text-gray-700': importsSwitchedOn,
'dark:text-gray-500 text-gray-400': !importsSwitchedOn
})
@@ -23,7 +23,7 @@ export default function WithImportedSwitch({
return (
<Tooltip
info={<div className="font-normal truncate">{tooltipMessage}</div>}
- className="w-4 h-4"
+ className="size-4"
>
<AppNavigationLink
search={