slates use real name instead of slug + application header font size

This commit is contained in:
Martina 2020-08-25 14:58:38 -07:00
parent 785cecaeb6
commit feed11bab5
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ const constructSlatesTreeForNavigation = (slates) => {
return {
...s,
slateId: s.id,
name: s.slatename,
name: s.data.name || s.slatename,
pageTitle: `Viewing ${s.slatename}`,
decorator: "SLATE",
};

View File

@ -25,8 +25,8 @@ const STYLES_RIGHT = css`
const STYLES_HEADER = css`
box-sizing: border-box;
font-family: ${Constants.font.semiBold};
font-size: 20px;
font-family: ${Constants.font.text};
font-size: ${Constants.typescale.lvl4};
padding: 0;
margin-bottom: 8px;
display: block;
@ -38,7 +38,7 @@ const STYLES_HEADER = css`
const STYLES_DESCRIPTION = css`
box-sizing: border-box;
font-family: ${Constants.font.text};
font-size: 14px;
font-size: ${Constants.typescale.lvl1};
margin-bottom: 12px;
line-height: 1.5;
display: block;