Skip to content

Commit bbd7124

Browse files
committed
improve comment on how our dynamic height CSS works
1 parent adb7915 commit bbd7124

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/skins/vector/css/pages/MatrixChat.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ limitations under the License.
9797
/* XXX: Hack: apparently if you try to nest a flex-box
9898
* within a non-flex-box within a flex-box, the height
9999
* of the innermost element gets miscalculated if the
100-
* parents are both auto.
100+
* parents are both auto. Height has to be auto here
101+
* for RoomView to correctly fit when the Toolbar is shown.
101102
* Ideally we'd launch straight into the RoomView at this
102103
* point, but instead we fudge it and make the middlePanel
103104
* flex itself.

0 commit comments

Comments
 (0)