diff --git a/app/components/title-field.js b/app/components/title-field.js index 8d96ceec..bf65d620 100644 --- a/app/components/title-field.js +++ b/app/components/title-field.js @@ -5,12 +5,13 @@ import Icon from './icon' import { Plain as PlainButton, Green as GreenButton } from './button' const Overlay = styled.div` - position: absolute; + position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.2); + z-index: 1; ` const EditableFieldWrapper = styled.div` @@ -36,6 +37,10 @@ const EditableFieldWrapper = styled.div` } ` +const ActiveEditableFieldWrapper = styled(EditableFieldWrapper)` + z-index: 1; +` + const InputFieldStyle = styled.input` :focus { outline: none; @@ -109,7 +114,7 @@ class TitleField extends Component { return (