1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-09-16 08:56:40 +02:00

Doc: Fixed news page layout

This commit is contained in:
Laurent Cozic
2021-12-17 18:58:49 +01:00
parent e1db70d45e
commit 5f4192e180
2 changed files with 17 additions and 1 deletions

View File

@@ -652,6 +652,22 @@ footer .bottom-links-row p {
font-size: 1.1em;
}
/*****************************************************************
WHAT'S NEW PAGE
*****************************************************************/
.news-page .container > .content-wrapper {
/* Set the line width so that there's no more than 75 characters per line */
/* https://baymard.com/blog/line-length-readability */
max-width: 650px;
margin-left: auto;
margin-right: auto;
}
.news-page img {
max-width: 650px;
}
/*****************************************************************
IN THE PRESS
The "In the press" section height needs to be adjusted as the

View File

@@ -345,7 +345,7 @@ async function main() {
await makeNewsFrontPage(newsFilePaths, `${rootDir}/docs/news/index.html`, {
...defaultTemplateParams(assetUrls),
pageName: 'plans',
pageName: 'news',
partials,
showToc: false,
showImproveThisDoc: false,