You've already forked joplin
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:
@@ -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
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user