diff --git a/packages/ketcher-react/src/Editor.module.less b/packages/ketcher-react/src/Editor.module.less index c636b88c57..8831c744b3 100644 --- a/packages/ketcher-react/src/Editor.module.less +++ b/packages/ketcher-react/src/Editor.module.less @@ -58,14 +58,13 @@ line-height: 20 / 14; height: 2.4em; padding: 0.35em 0.15em 0.35em 0.3em; - margin: 2px; border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-sizing: border-box; &:active, &:focus { - outline: 0; + outline: 1px solid @active-color; } &:hover, diff --git a/packages/ketcher-react/src/icons/files/not-found.svg b/packages/ketcher-react/src/icons/files/not-found.svg new file mode 100644 index 0000000000..154059feb0 --- /dev/null +++ b/packages/ketcher-react/src/icons/files/not-found.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/ketcher-react/src/icons/index.tsx b/packages/ketcher-react/src/icons/index.tsx index 94c11e6c91..1860c80783 100644 --- a/packages/ketcher-react/src/icons/index.tsx +++ b/packages/ketcher-react/src/icons/index.tsx @@ -53,6 +53,7 @@ import LayoutIcon from './files/layout.svg' import LogoIcon from './files/logo.svg' import MiewIcon from './files/miew.svg' import ClearIcon from './files/clear.svg' +import NotFoundIcon from './files/not-found.svg' import OpenIcon from './files/open.svg' import PasteIcon from './files/paste.svg' import PeriodTableIcon from './files/period-table.svg' @@ -217,7 +218,8 @@ const icons = { 'shape-rectangle': ShapeRectangleIcon, 'shape-polyline': ShapePolylineIcon, 'shape-line': ShapeLineIcon, - symbols: Symbols + symbols: Symbols, + 'not-found': NotFoundIcon } function emptyIcon() { diff --git a/packages/ketcher-react/src/script/ui/component/form/form/form.jsx b/packages/ketcher-react/src/script/ui/component/form/form/form.jsx index ba6cbca240..d28c91d11d 100644 --- a/packages/ketcher-react/src/script/ui/component/form/form/form.jsx +++ b/packages/ketcher-react/src/script/ui/component/form/form/form.jsx @@ -101,7 +101,7 @@ function Label({ labelPos, title, children, ...props }) { } function Field(props) { - const { name, onChange, component, labelPos, ...rest } = props + const { name, onChange, component, labelPos, className, ...rest } = props const { schema, stateStore } = useFormContext() const desc = rest.schema || schema.properties[name] const { dataError, ...fieldOpts } = stateStore.field(name, onChange) @@ -115,7 +115,7 @@ function Field(props) { if (labelPos === false) return formField return (