improve comment on how our dynamic height CSS works

This commit is contained in:
Matthew Hodgson 2015-11-11 00:57:16 +01:00
parent adb7915b3e
commit bbd7124ac7
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ limitations under the License.
/* XXX: Hack: apparently if you try to nest a flex-box /* XXX: Hack: apparently if you try to nest a flex-box
* within a non-flex-box within a flex-box, the height * within a non-flex-box within a flex-box, the height
* of the innermost element gets miscalculated if the * of the innermost element gets miscalculated if the
* parents are both auto. * parents are both auto. Height has to be auto here
* for RoomView to correctly fit when the Toolbar is shown.
* Ideally we'd launch straight into the RoomView at this * Ideally we'd launch straight into the RoomView at this
* point, but instead we fudge it and make the middlePanel * point, but instead we fudge it and make the middlePanel
* flex itself. * flex itself.