Skip to content

Commit

Permalink
Merge pull request #960 from web-illinois/bugfix/trubach/issue-957-un…
Browse files Browse the repository at this point in the history
…published-pages-give-no-indication-to-the-user-viewing-the-page

Fix for unpublished page issue #957
  • Loading branch information
trubach authored Nov 6, 2023
2 parents 9b5257f + d0d6c55 commit 7ab926e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scss/illinois-framework/_region.content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 7ab926e

Please sign in to comment.