mirror of https://github.com/vector-im/riot-web
align autocomplete at top of composer
parent
2cff486ec0
commit
33c6945fc4
|
@ -19,12 +19,22 @@ limitations under the License.
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
.mx_BasicMessageComposer {
|
.mx_BasicMessageComposer {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
.mx_BasicMessageComposer_input {
|
.mx_BasicMessageComposer_input {
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
|
// this will center the contenteditable
|
||||||
|
// in it's parent vertically
|
||||||
|
// while keeping the autocomplete at the top
|
||||||
|
// of the composer. The parent needs to be a flex container for this to work.
|
||||||
|
margin: auto 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue