mirror of https://github.com/vector-im/riot-web
Merge pull request #2985 from matrix-org/t3chguy/fix_devtools_alignment
Apply Flex voodoo for devtools send event dialogpull/21833/head
commit
0070540b8a
|
@ -82,8 +82,13 @@ limitations under the License.
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_DevTools_content .mx_Field_input + .mx_Field_input {
|
.mx_DevTools_eventTypeStateKeyGroup {
|
||||||
margin-left: 42px;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_DevTools_content .mx_Field_input:first-of-type {
|
||||||
|
margin-right: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_DevTools_tgl {
|
.mx_DevTools_tgl {
|
||||||
|
|
|
@ -128,8 +128,10 @@ class SendCustomEvent extends GenericEditor {
|
||||||
|
|
||||||
return <div>
|
return <div>
|
||||||
<div className="mx_DevTools_content">
|
<div className="mx_DevTools_content">
|
||||||
{ this.textInput('eventType', _t('Event Type')) }
|
<div className="mx_DevTools_eventTypeStateKeyGroup">
|
||||||
{ this.state.isStateEvent && this.textInput('stateKey', _t('State Key')) }
|
{ this.textInput('eventType', _t('Event Type')) }
|
||||||
|
{ this.state.isStateEvent && this.textInput('stateKey', _t('State Key')) }
|
||||||
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue