fix: focus on textarea (#11522)

* Border change on hover on textarea

* Fixed focus on textarea

* Fixed focus on textarea

Co-authored-by: sean-brydon <[email protected]>

* Update packages/ui/components/editor/stylesEditor.css

Co-authored-by: sean-brydon <[email protected]>

* Update packages/ui/components/editor/Editor.tsx

---------

Co-authored-by: sean-brydon <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-09-28 18:50:07 +00:00
1 parent 2335948099
commit 5deda33712
1 file changed
+1 -1
+1 -1
View File
@@ -68,7 +68,7 @@ export const Editor = (props: TextEditorProps) => {
return (
<div className="editor rounded-md">
<LexicalComposer initialConfig={{ ...editorConfig, editable }}>
<div className="editor-container rounded-md p-0">
<div className="editor-container hover:border-emphasis focus-within:ring-brand-default rounded-md p-0 focus-within:ring-2">
<ToolbarPlugin
getText={props.getText}
setText={props.setText}