Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 42f661d

Browse files
Add react-virtualized css to Dropdown and remove css_dist dep
1 parent 843121d commit 42f661d

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

dash_core_components/__init__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,5 @@
5050
}
5151
]
5252

53-
54-
_css_dist = [
55-
{
56-
'relative_package_path': [
57-
58-
],
59-
'external_url': [
60-
'https://unpkg.com/[email protected]/styles.css',
61-
],
62-
'namespace': 'dash_core_components'
63-
}
64-
]
65-
66-
6753
for _component in __all__:
6854
setattr(locals()[_component], '_js_dist', _js_dist)
69-
setattr(locals()[_component], '_css_dist', _css_dist)

src/components/Dropdown.react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React, {Component} from 'react';
44
import ReactDropdown from 'react-virtualized-select';
55
import createFilterOptions from 'react-select-fast-filter-options';
66
import './css/[email protected]';
7+
import './css/[email protected]';
78

89
// Custom tokenizer, see https://github.com/bvaughn/js-search/issues/43
910
// Split on spaces

0 commit comments

Comments
 (0)