Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent elements of Paper from affecting Paper margin #2037

Closed
RichardJECooke opened this issue Nov 2, 2015 · 1 comment
Closed

Prevent elements of Paper from affecting Paper margin #2037

RichardJECooke opened this issue Nov 2, 2015 · 1 comment
Labels
new feature New feature or request

Comments

@RichardJECooke
Copy link

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

@alitaheri alitaheri added the new feature New feature or request label Dec 9, 2015
@nathanmarks
Copy link
Member

overflow: hidden

mnajdova pushed a commit to mnajdova/material-ui that referenced this issue Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants