Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Add dark style for UTM dropdown
Uku Taht2d32227621b2
diff --git a/assets/js/dashboard/stats/sources/source-list.js b/assets/js/dashboard/stats/sources/source-list.jsindex cd5a398b54..0020dca38f 100644--- a/assets/js/dashboard/stats/sources/source-list.js+++ b/assets/js/dashboard/stats/sources/source-list.js@@ -317,7 +317,7 @@ export default class SourceList extends React.Component {leaveFrom="transform opacity-100 scale-100"leaveTo="transform opacity-0 scale-95">- <Menu.Items className="text-left origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10">+ <Menu.Items className="text-left origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 focus:outline-none z-10"><div className="py-1">{ dropdownOptions.map((option) => {return (@@ -326,7 +326,7 @@ export default class SourceList extends React.Component {<spanonClick={this.setTab(option)}className={classNames(- active ? 'bg-gray-100 text-gray-900 cursor-pointer' : 'text-gray-700',+ active ? 'bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-200 cursor-pointer' : 'text-gray-700 dark:text-gray-200','block px-4 py-2 text-sm',this.state.tab === option ? 'font-bold' : '')}