Skip to content

A platform for community discussion. Free, open, simple.

Change pp to published-page (#10343)

Jordan Vidrine831802aedc92
diff --git a/app/assets/stylesheets/publish.scss b/app/assets/stylesheets/publish.scss
index 8808167d4e3..75f0b480dc0 100644
--- a/app/assets/stylesheets/publish.scss
+++ b/app/assets/stylesheets/publish.scss
@@ -5,7 +5,7 @@
max-width: 800px;
}
-.pp-header {
+.published-page-header {
width: 100%;
top: 0;
z-index: z("header");
@@ -13,18 +13,18 @@
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25);
position: sticky;
top: 0;
- .pp-header-wrapper {
+ .published-page-header-wrapper {
width: 925px;
display: flex;
margin: 0em auto;
padding: 0.5em 0;
align-items: center;
- .pp-logo {
+ .published-page-logo {
height: 45px;
margin-right: 1em;
line-height: 1em;
}
- .pp-title {
+ .published-page-title {
color: $header_primary;
font-size: 3em;
margin: 0;
diff --git a/app/views/published_pages/show.html.erb b/app/views/published_pages/show.html.erb
index 962240f08a4..d1a0588c8df 100644
--- a/app/views/published_pages/show.html.erb
+++ b/app/views/published_pages/show.html.erb
@@ -1,9 +1,9 @@
-<div class="pp-header">
- <div class="pp-header-wrapper">
+<div class="published-page-header">
+ <div class="published-page-header-wrapper">
<a href="<%= @site_url %>">
- <img class="pp-logo" src="<%[email protected]%>"/>
+ <img class="published-page-logo" src="<%[email protected]%>"/>
</a>
- <h1 class="pp-title"><%= @topic.title %></h1>
+ <h1 class="published-page-title"><%= @topic.title %></h1>
</div>
</div>
<div class="published-page-content-wrapper">