aboutsummaryrefslogtreecommitdiff
path: root/static/widgets/search/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/widgets/search/index.js')
-rw-r--r--static/widgets/search/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/widgets/search/index.js b/static/widgets/search/index.js
index 1a367f3..b014cdd 100644
--- a/static/widgets/search/index.js
+++ b/static/widgets/search/index.js
@@ -2,7 +2,9 @@ import icons from 'icons';
import * as sfw from 'sfw';
const { Div, Input, Button } = sfw.element.native;
-const css = await sfw.css(import.meta.url, './index.css');
+import stylesheet from './index.css';
+
+const css = await sfw.css.sheet(stylesheet);
export default class Search extends sfw.element.Container {
#container