Skip to content

Commit

Permalink
Content Field Tweaks (#2417)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadeByMike authored Feb 24, 2020
1 parent d495f17 commit 92b8fc4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-meals-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystonejs/field-content': patch
---

Fixed a console error and z-index on the content field.
1 change: 1 addition & 0 deletions packages/field-content/src/views/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ let ContentField = ({ field, value, onChange, autoFocus, errors }) => {
css={{
...inputStyles({ isMultiline: true }),
padding: '16px 32px',
zIndex: 0,
}}
/>
)}
Expand Down
1 change: 1 addition & 0 deletions packages/field-content/src/views/editor/add-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ let AddBlock = ({ editorState, editor, blocks }) => {
}
return (
<li
key={`sidebar-${key}`}
css={{
display: 'flex',
justifyContent: 'left',
Expand Down

0 comments on commit 92b8fc4

Please sign in to comment.