Material-ui: Prevent elements of Paper from affecting Paper margin

Created on 2 Nov 2015  路  1Comment  路  Source: mui-org/material-ui

The 1rem top margin on a heading makes the Paper element move down, not the heading.

Code:

<Paper zDepth={1}>
  <h1 className='leftMargin topMargin'> Books</h1>
  <BookList />
</Paper>

Example:
See in this screenshot how the top of the paper is incorrectly 1rem down the page.
untitled

enhancement

Most helpful comment

overflow: hidden

>All comments

overflow: hidden

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reflog picture reflog  路  3Comments

revskill10 picture revskill10  路  3Comments

ericraffin picture ericraffin  路  3Comments

rbozan picture rbozan  路  3Comments

ryanflorence picture ryanflorence  路  3Comments