Skip to content

Commit

Permalink
fix: add cosmetic fixes to rich text textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Feb 7, 2024
1 parent feca769 commit fcccbbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ const MessageEditorContainer = ({ children, currentUser, dataTest }) => (
}
.editor {
flex-grow: 1;
display: flex;
flex-direction: column;
height: 100%;
}
`}</style>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/RichText/Editor/styles/Editor.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ export const mainClasses = css`
}
.textarea.resizable {
resize: both;
resize: vertical;
}
.textarea:focus {
outline: none;
box-shadow: 0 0 0 3px ${theme.focus};
box-shadow: 0 0 0 3px inset ${theme.focus};
width: calc(100% - 3px);
}
Expand Down

0 comments on commit fcccbbc

Please sign in to comment.