Skip to content

Lists and Tables don't have same horizontal padding #14752

@jedwards1211

Description

@jedwards1211
  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

This is a v3 issue only, it is fixed in next

Feel free to close this, I just thought I'd point it out in case no one had thought about whether alignment of List and Table content should be desirable.

Expected Behavior 🤔

The default horizontal padding of lists and tables matches. Maybe it's the material design guidelines' fault that this isn't the case?

Current Behavior 😯

When a List is rendered above a Table or vice versa, the horizontal padding of the list and table content doesn't match.

image

Steps to Reproduce 🕹

Link: https://codesandbox.io/s/zq96j3vm3m

Context 🔦

I haven't actually needed to render a List and a Table that align with each other, yet. But I imagine it could happen someday and it seems to me that it's generally desirable for Lists and Tables to look good together by default.

Your Environment 🌎

Tech Version
Material-UI v3.9.2

Metadata

Metadata

Labels

design: materialThis is about Material Design, please involve a visual or UX designer in the processscope: tableChanges related to the table.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions