Skip to content
Permalink
Browse files

MessageComposer styling for Draft

  • Loading branch information
aviraldg committed Jun 9, 2016
1 parent 7e563b8 commit 819e06e2cd66540e58ba0afece2f8d28de1eea2c
@@ -0,0 +1,14 @@
.mx_UserPill {
color: white;
background-color: #76cfa6;
padding: 2px 8px;
border-radius: 16px;
}

.mx_RoomPill {
background-color: white;
color: #76cfa6;
border: 1px solid #76cfa6;
padding: 2px 8px;
border-radius: 16px;
}
@@ -22,15 +22,16 @@ limitations under the License.
}

.mx_MessageComposer_row {
display: table-row;
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
}

.mx_MessageComposer .mx_MessageComposer_avatar {
display: table-cell;
/*display: table-cell;*/
padding-left: 10px;
padding-right: 28px;
vertical-align: middle;
}

.mx_MessageComposer .mx_MessageComposer_avatar .mx_BaseAvatar {
@@ -42,20 +43,26 @@ limitations under the License.
}

.mx_MessageComposer_noperm_error {
display: table-cell;
/*display: table-cell;*/
width: 100%;
vertical-align: middle;
height: 60px;
text-align: center;
font-style: italic;
color: #888;
}

.mx_MessageComposer_input {
display: table-cell;
width: 100%;
/*display: table-cell;*/
flex: 1;
vertical-align: middle;
height: 60px;
min-height: 60px;
max-height: 120px;
display: flex;
align-items: center;
}

.mx_MessageComposer_input .DraftEditor-root {
flex: 1;
}

.mx_MessageComposer_input textarea {
@@ -92,8 +99,8 @@ limitations under the License.
.mx_MessageComposer_hangup,
.mx_MessageComposer_voicecall,
.mx_MessageComposer_videocall {
display: table-cell;
vertical-align: middle;
/*display: table-cell;*/
/*vertical-align: middle;*/
padding-left: 10px;
padding-right: 10px;
cursor: pointer;

0 comments on commit 819e06e

Please sign in to comment.
You can’t perform that action at this time.