Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit ec9e2f2

Browse files
authored
Merge pull request #356 from grafana/jackw/fix-missing-css
Fix: Make sure toolkit includes the theme css
2 parents 2acf513 + 4a30777 commit ec9e2f2

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { loadPluginCss } from 'grafana/app/plugins/sdk';
22
import WorldmapCtrl from './worldmap_ctrl';
33

44
loadPluginCss({
5-
dark: 'plugins/grafana-worldmap-panel/css/worldmap.dark.css',
6-
light: 'plugins/grafana-worldmap-panel/css/worldmap.light.css',
5+
dark: 'plugins/grafana-worldmap-panel/styles/dark.css',
6+
light: 'plugins/grafana-worldmap-panel/styles/light.css',
77
});
88

99
export { WorldmapCtrl as PanelCtrl };
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/worldmap_ctrl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import TimeSeries from 'grafana/app/core/time_series2';
77

88
import * as _ from 'lodash';
99
import DataFormatter from './data_formatter';
10-
import './css/worldmap-panel.css';
10+
import './styles/worldmap-panel.css';
1111
import $ from 'jquery';
12-
import './css/leaflet.css';
12+
import './styles/leaflet.css';
1313
import WorldMap from './worldmap';
1414

1515
const panelDefaults = {

0 commit comments

Comments
 (0)