From c22141bd0c2e8d8e94f528696ca626f626c73ea2 Mon Sep 17 00:00:00 2001 From: Ryan Wyllie Date: Tue, 29 Nov 2016 07:14:05 +0000 Subject: [PATCH] MDL-57095 theme: fix content styling for notification page --- theme/boost/scss/moodle/message.scss | 2 +- theme/bootstrapbase/less/moodle/message.less | 2 +- theme/bootstrapbase/style/moodle.css | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/theme/boost/scss/moodle/message.scss b/theme/boost/scss/moodle/message.scss index ca6edb18dd3..eab49cf9ed6 100644 --- a/theme/boost/scss/moodle/message.scss +++ b/theme/boost/scss/moodle/message.scss @@ -970,7 +970,7 @@ } } - .content { + > .content { height: 500px; @media (max-height: 670px) { height: 400px; diff --git a/theme/bootstrapbase/less/moodle/message.less b/theme/bootstrapbase/less/moodle/message.less index 5581c182b53..ef421323e3c 100644 --- a/theme/bootstrapbase/less/moodle/message.less +++ b/theme/bootstrapbase/less/moodle/message.less @@ -956,7 +956,7 @@ } } - .content { + > .content { height: 500px; @media (max-height: 670px) { height: 400px; diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index aafcab49db8..04745b81cf5 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -6561,7 +6561,7 @@ a.ygtvspacer:hover { .notification-area .content-area .header:empty { display: none; } -.notification-area .content-area .content { +.notification-area .content-area > .content { height: 500px; box-sizing: border-box; overflow: auto; @@ -6569,14 +6569,14 @@ a.ygtvspacer:hover { padding: 15px; } @media (max-height: 670px) { - .notification-area .content-area .content { + .notification-area .content-area > .content { height: 400px; } } -.notification-area .content-area .content:empty { +.notification-area .content-area > .content:empty { display: none; } -.notification-area .content-area .content:empty + .empty-text { +.notification-area .content-area > .content:empty + .empty-text { display: block; text-align: center; padding-top: 100px;