diff --git a/src/components/text-mode/text-mode.css b/src/components/text-mode/text-mode.css new file mode 100644 index 00000000..a2e4a958 --- /dev/null +++ b/src/components/text-mode/text-mode.css @@ -0,0 +1,15 @@ +.text-area { + background: transparent; + border: none; + display: none; + font-family: Times; + font-size: 30px; + left: 0; + outline: none; + overflow: hidden; + position: absolute; + resize: none; + top: 0; + white-space: nowrap; + z-index: 1; +} \ No newline at end of file diff --git a/src/components/text-mode/text-mode.jsx b/src/components/text-mode/text-mode.jsx index 747f68b9..f4234873 100644 --- a/src/components/text-mode/text-mode.jsx +++ b/src/components/text-mode/text-mode.jsx @@ -3,23 +3,32 @@ import PropTypes from 'prop-types'; import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; import textIcon from './text.svg'; +import styles from './text-mode.css'; const TextModeComponent = props => ( - +
+ + +