patch styles of marker element of selectable

This commit is contained in:
Chris Kruining 2024-12-11 10:07:13 +01:00
parent b80e4ea6f5
commit 41bd3463e7
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
2 changed files with 6 additions and 1 deletions

View file

@ -177,7 +177,7 @@ const Root: ParentComponent = (props) => {
});
};
return <div ref={setRoot} tabIndex={0} onKeyDown={onKeyboardEvent} onKeyUp={onKeyboardEvent} style={{ 'display': 'contents' }}>{c()}</div>;
return <div ref={setRoot} tabIndex={0} onKeyDown={onKeyboardEvent} onKeyUp={onKeyboardEvent} class={css.root}>{c()}</div>;
};
export const selectable = (element: HTMLElement, options: Accessor<{ value: object, key?: string }>) => {