MDL-69883 message: fix lazy loading of conversations.

Set max-height on each container section rather than the container
itself, so that each can respond to the scrollBottom event within
the lazy loading module (which handles the overflow itself).
This commit is contained in:
Paul Holden
2021-02-24 22:01:34 +00:00
parent af0040445a
commit 7aee6e2fb2
3 changed files with 7 additions and 8 deletions
+3 -2
View File
@@ -659,8 +659,9 @@ $message-day-color: color-yiq($message-app-bg) !default;
height: 100%;
margin-top: 0;
.conversationcontainer {
max-height: calc(100vh - 50px);
overflow: auto;
.section {
max-height: calc(100vh - 50px);
}
}
div[role="main"] {
height: 100%;
+2 -3
View File
@@ -15468,9 +15468,8 @@ a.ygtvspacer:hover {
#page-message-index #region-main {
height: 100%;
margin-top: 0; }
#page-message-index #region-main .conversationcontainer {
max-height: calc(100vh - 50px);
overflow: auto; }
#page-message-index #region-main .conversationcontainer .section {
max-height: calc(100vh - 50px); }
#page-message-index #region-main div[role="main"] {
height: 100%; }
#page-message-index #region-main div[role="main"] #maincontent {
+2 -3
View File
@@ -15684,9 +15684,8 @@ a.ygtvspacer:hover {
#page-message-index #region-main {
height: 100%;
margin-top: 0; }
#page-message-index #region-main .conversationcontainer {
max-height: calc(100vh - 50px);
overflow: auto; }
#page-message-index #region-main .conversationcontainer .section {
max-height: calc(100vh - 50px); }
#page-message-index #region-main div[role="main"] {
height: 100%; }
#page-message-index #region-main div[role="main"] #maincontent {