From d0d6c556fffc56c52e5b5f2d8fb054b57ff8031f Mon Sep 17 00:00:00 2001 From: Tyler Rubach Date: Mon, 6 Nov 2023 16:10:31 -0600 Subject: [PATCH] Fix for unpublished page issue #957 --- scss/illinois-framework/_region.content.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scss/illinois-framework/_region.content.scss b/scss/illinois-framework/_region.content.scss index 8b4bf010..40f62c8a 100644 --- a/scss/illinois-framework/_region.content.scss +++ b/scss/illinois-framework/_region.content.scss @@ -6,3 +6,15 @@ padding: 0 !important; } } + + +/* Show message on content that is unpublished */ +article.is-unpublished:before { + content: "This page is not published and will not be visible to unauthenticated users"; + text-align: center; + padding: 2em; + margin-bottom: 2em; + background-color: pink; + display: block; + font-weight: bold; +}