More generous gutters and margins on index pages
This commit is contained in:
parent
9dc0630bb3
commit
77007eacdf
|
@ -23,9 +23,13 @@ th {
|
|||
text-align: left;
|
||||
}
|
||||
th, td {
|
||||
padding: 0.1em 0.25em;
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.version-wrapper {
|
||||
line-height: 2.25em;
|
||||
float: right;
|
||||
|
|
|
@ -30,6 +30,7 @@ const IndexPage = ({ packageInfo, version, dir, entries }) => {
|
|||
e('style', { dangerouslySetInnerHTML: { __html: IndexPageStyle } })
|
||||
),
|
||||
e('body', null,
|
||||
e('div', { className: 'content-wrapper' },
|
||||
e('div', { className: 'version-wrapper' },
|
||||
e('select', { id: 'version', defaultValue: version }, options)
|
||||
),
|
||||
|
@ -42,6 +43,7 @@ const IndexPage = ({ packageInfo, version, dir, entries }) => {
|
|||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
module.exports = IndexPage
|
||||
|
|
Loading…
Reference in New Issue