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:
@@ -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%;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user