From c80234bac29c71d75385c47286d1db793e4109e0 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Fri, 29 Mar 2019 15:34:56 +0100 Subject: [PATCH] UI Page: style node description with its own class. Instead of relying on 'landing'. --- src/styles/_project.sass | 4 ++++ src/templates/nodes/custom/page/view_embed.pug | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/styles/_project.sass b/src/styles/_project.sass index 795e5113..7380e678 100644 --- a/src/styles/_project.sass +++ b/src/styles/_project.sass @@ -2005,3 +2005,7 @@ a.learn-more padding: 5px 35px text-align: center +// Node Type: Page +.page + .node-details-description + font-size: 1.3em diff --git a/src/templates/nodes/custom/page/view_embed.pug b/src/templates/nodes/custom/page/view_embed.pug index dabce157..9c3d61a6 100644 --- a/src/templates/nodes/custom/page/view_embed.pug +++ b/src/templates/nodes/custom/page/view_embed.pug @@ -2,7 +2,7 @@ include ../../../mixins/components //- Remove custom classes applied by the landing template (that turn background black). -| {% block bodyclasses %}{% endblock %} +| {% block bodyclasses %}page{% endblock %} | {% block body %} | {% if project and project.has_method('PUT') %}