Skip to content

[ListItem] remove useless margin: 0#1542

Merged
shaurya947 merged 1 commit intomui:masterfrom
oliviertassinari:patch-5
Sep 29, 2015
Merged

[ListItem] remove useless margin: 0#1542
shaurya947 merged 1 commit intomui:masterfrom
oliviertassinari:patch-5

Conversation

@oliviertassinari
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oliviertassinari for consistency, and for future readability and maintainability, I would rather just change this line to:

primaryText: {},

Thoughts?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was my original PR, then I just though, the less dead code there is, the best it's.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that in the future if we do decide to add some styling for the primaryText, leaving it like that would make it easier to locate, and it also feels more consistent with all the other style key:value pairs.

It's up to you though. Let me know what you decide. :-)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, as you want. Regarding this component, I thinks that we should make it composable in the futur.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, let me know when I merge this!

@oliviertassinari
Copy link
Copy Markdown
Member Author

@shaurya947 Done

shaurya947 added a commit that referenced this pull request Sep 29, 2015
[ListItem] remove useless margin: 0
@shaurya947 shaurya947 merged commit c0cecf7 into mui:master Sep 29, 2015
@shaurya947
Copy link
Copy Markdown
Contributor

Thanks @oliviertassinari

@oliviertassinari oliviertassinari deleted the patch-5 branch November 3, 2015 10:51
@zannager zannager added the scope: list Changes related to the list label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: list Changes related to the list

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants