+
+
@@ -82,9 +85,6 @@ export default class MessageInput extends React.Component {
style={{ display: 'none' }} ref={this.fileinput} value={this.state.attach}
onChange={this.attachmentChanged} />
-
@@ -93,6 +93,13 @@ export default class MessageInput extends React.Component {
}
}
+const commentStyle = {
+ display: 'flex',
+ flexDirection: 'column',
+ width: '100%',
+ marginTop: '10px'
+}
+
const inactiveStyle = {
cursor: 'pointer',
color: '#888'
@@ -103,18 +110,22 @@ const activeStyle = {
};
const inputBarStyle = {
- border: '1px solid #ddd',
display: 'flex',
- alignItems: 'flex-start',
- padding: '3px',
- flexGrow: 1
+ borderTop: '1px #eee solid',
+ alignItems: 'center',
+ justifyContent: 'space-between',
+ padding: '3px'
}
const textInputStyle = {
overflow: 'hidden',
resize: 'none',
display: 'block',
- boxSizing: 'border-box'
+ boxSizing: 'border-box',
+ border: 0,
+ outline: 'none',
+ padding: '4px',
+ resize: 'none'
}
MessageInput.propTypes = {
diff --git a/vnext/src/style/main.css b/vnext/src/style/main.css
index b5d4ea0e..9f1d42c0 100644
--- a/vnext/src/style/main.css
+++ b/vnext/src/style/main.css
@@ -447,22 +447,9 @@ article .tags > a,
overflow: hidden;
text-indent: 10px;
}
-.msg-comment {
- display: flex;
- width: 100%;
- margin-top: 10px;
-}
.msg-comment-hidden {
display: none;
}
-.msg-comment textarea {
- border: 0;
- flex-grow: 1;
- outline: none !important;
- padding: 4px;
- resize: vertical;
- vertical-align: top;
-}
.msg-comment input {
align-self: flex-start;
background: #EEE;
--
cgit v1.2.3