mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 14:07:20 +03:00
slates use real name instead of slug + application header font size
This commit is contained in:
parent
785cecaeb6
commit
feed11bab5
@ -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",
|
||||
};
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user