mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Add not-working-yet text box, plus a bit more css
This commit is contained in:
parent
56415b40e9
commit
a0c5fb4a8b
12
css/molecules/MessageComposer.css
Normal file
12
css/molecules/MessageComposer.css
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
.mx_MessageComposer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 5px;
|
||||||
|
right: 0px;
|
||||||
|
left: 0px;
|
||||||
|
width: 100%;
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_MessageComposer textarea {
|
||||||
|
width: 100%;
|
||||||
|
}
|
3
css/molecules/MessageTile.css
Normal file
3
css/molecules/MessageTile.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.mx_MessageTile {
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
}
|
16
src/molecules/MessageComposer.js
Normal file
16
src/molecules/MessageComposer.js
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
var React = require('react');
|
||||||
|
|
||||||
|
var MatrixClientPeg = require("../MatrixClientPeg");
|
||||||
|
|
||||||
|
module.exports = React.createClass({
|
||||||
|
render: function() {
|
||||||
|
return (
|
||||||
|
<div className="mx_MessageComposer">
|
||||||
|
<form>
|
||||||
|
<textarea />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user