Skip to content

Commit 9d96baa

Browse files
author
Luke Barnard
committed
Alter comments on height: auto
Having tested Riot with the middlePanel having a height of 100%, it seems to be OK.
1 parent 66e93c8 commit 9d96baa

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/_MatrixChat.scss‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,11 @@ limitations under the License.
9090
*/
9191
overflow-x: auto;
9292

93-
/* XXX: Hack: apparently if you try to nest a flex-box
94-
* within a non-flex-box within a flex-box, the height
95-
* of the innermost element gets miscalculated if the
96-
* parents are both auto. Height has to be auto here
97-
* for RoomView to correctly fit when the Toolbar is shown.
98-
* Ideally we'd launch straight into the RoomView at this
99-
* point, but instead we fudge it and make the middlePanel
100-
* flex itself.
101-
*/
10293
display: flex;
10394

10495
/* To fix https://github.com/vector-im/riot-web/issues/3298 where Safari
105-
needed height 100% all the way down to the HomePage.
96+
needed height 100% all the way down to the HomePage. Height does not
97+
have to be auto, empirically.
10698
*/
10799
height: 100%;
108100
}

0 commit comments

Comments
 (0)