diff options
Diffstat (limited to 'static/widgets/editable/index.js')
| -rw-r--r-- | static/widgets/editable/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/widgets/editable/index.js b/static/widgets/editable/index.js index 116946f..b7e24de 100644 --- a/static/widgets/editable/index.js +++ b/static/widgets/editable/index.js @@ -2,7 +2,9 @@ import icons from 'icons'; import * as sfw from 'sfw'; const { Div, Label, Input } = 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 Editable extends sfw.element.Container { #label |