RTE mode switch styling & cleanup

This commit is contained in:
Aviral Dasgupta 2016-06-11 15:54:43 +05:30
parent b2459b2dc6
commit f6ed21559a

View file

@ -29,7 +29,6 @@ limitations under the License.
} }
.mx_MessageComposer .mx_MessageComposer_avatar { .mx_MessageComposer .mx_MessageComposer_avatar {
/*display: table-cell;*/
padding-left: 10px; padding-left: 10px;
padding-right: 28px; padding-right: 28px;
} }
@ -43,7 +42,6 @@ limitations under the License.
} }
.mx_MessageComposer_noperm_error { .mx_MessageComposer_noperm_error {
/*display: table-cell;*/
width: 100%; width: 100%;
height: 60px; height: 60px;
text-align: center; text-align: center;
@ -52,13 +50,18 @@ limitations under the License.
} }
.mx_MessageComposer_input { .mx_MessageComposer_input {
/*display: table-cell;*/
flex: 1; flex: 1;
vertical-align: middle; vertical-align: middle;
min-height: 60px; min-height: 60px;
max-height: 120px; max-height: 120px;
display: flex; display: flex;
align-items: center; align-items: center;
overflow: auto;
transition: 0.6s border-top ease;
border-top: 2px solid rgba(255, 255, 255, 0);
}
.mx_MessageComposer_input_rte {
border-top: 2px solid #76cfa6; /* placeholder RTE indicator */
} }
.mx_MessageComposer_input .DraftEditor-root { .mx_MessageComposer_input .DraftEditor-root {