{"action":"created","issue":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/10828","repository_url":"https://api.github.com/repos/mui-org/material-ui","labels_url":"https://api.github.com/repos/mui-org/material-ui/issues/10828/labels{/name}","comments_url":"https://api.github.com/repos/mui-org/material-ui/issues/10828/comments","events_url":"https://api.github.com/repos/mui-org/material-ui/issues/10828/events","html_url":"https://github.com/mui-org/material-ui/issues/10828","id":309373751,"number":10828,"title":"Introduce a Display component","user":{"login":"rweller59","id":23178282,"avatar_url":"https://avatars0.githubusercontent.com/u/23178282?v=4","gravatar_id":"","url":"https://api.github.com/users/rweller59","html_url":"https://github.com/rweller59","followers_url":"https://api.github.com/users/rweller59/followers","following_url":"https://api.github.com/users/rweller59/following{/other_user}","gists_url":"https://api.github.com/users/rweller59/gists{/gist_id}","starred_url":"https://api.github.com/users/rweller59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rweller59/subscriptions","organizations_url":"https://api.github.com/users/rweller59/orgs","repos_url":"https://api.github.com/users/rweller59/repos","events_url":"https://api.github.com/users/rweller59/events{/privacy}","received_events_url":"https://api.github.com/users/rweller59/received_events","type":"User","site_admin":false},"labels":[{"id":226508813,"url":"https://api.github.com/repos/mui-org/material-ui/labels/enhancement","name":"enhancement","color":"c7def8","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mui-org/material-ui/milestones/24","html_url":"https://github.com/mui-org/material-ui/milestone/24","labels_url":"https://api.github.com/repos/mui-org/material-ui/milestones/24/labels","id":2958934,"number":24,"title":"post v1.0.0","description":"","creator":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":43,"state":"open","created_at":"2017-12-05T10:22:26Z","updated_at":"2018-03-28T15:53:41Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-03-28T13:45:17Z","updated_at":"2018-03-30T03:02:16Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\nI'm using card/card content. Trying to render text on the same row but can't figure out how to remove new line\r\n<!--\r\n    Thank you very much for contributing to Material-UI by creating an issue! ❤️\r\n    To avoid duplicate issues we ask you to check off the following list.\r\n-->\r\n\r\n<!-- Checked checkbox should look like this: [x] -->\r\n- [ x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.\r\n\r\n## Expected Behavior\r\nAbility to display multiple text elements on same line\r\n\r\n## Current Behavior\r\n<!---\r\n    If describing a bug, tell us what happens instead of the expected behavior.\r\n    If suggesting a change/improvement, explain the difference from current behavior.\r\n-->\r\n\r\n## Steps to Reproduce (for bugs)\r\n      <Card style={cardStyle}>\r\n        <CardContent>\r\n          <Typography component=\"p\">Name</Typography>\r\n          <Typography component=\"p\" align='right'>name data</Typography>\r\n\r\n\r\n## Context\r\nHaving a hard time finding detailed documentation on this kind of stuff for material-ui library. If someone can point out documentation that I should have found, that would be great.\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment with which you experienced the bug. -->\r\n\r\n| Tech         | Version |\r\n|--------------|---------|\r\n| Material-UI  |      1.0.0-beta.36   |\r\n| React        |     ^16.2.0    |\r\n| browser      |         |\r\n| etc          |         |\r\n"},"comment":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/comments/377432541","html_url":"https://github.com/mui-org/material-ui/issues/10828#issuecomment-377432541","issue_url":"https://api.github.com/repos/mui-org/material-ui/issues/10828","id":377432541,"user":{"login":"t49tran","id":2223362,"avatar_url":"https://avatars2.githubusercontent.com/u/2223362?v=4","gravatar_id":"","url":"https://api.github.com/users/t49tran","html_url":"https://github.com/t49tran","followers_url":"https://api.github.com/users/t49tran/followers","following_url":"https://api.github.com/users/t49tran/following{/other_user}","gists_url":"https://api.github.com/users/t49tran/gists{/gist_id}","starred_url":"https://api.github.com/users/t49tran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t49tran/subscriptions","organizations_url":"https://api.github.com/users/t49tran/orgs","repos_url":"https://api.github.com/users/t49tran/repos","events_url":"https://api.github.com/users/t49tran/events{/privacy}","received_events_url":"https://api.github.com/users/t49tran/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T03:02:15Z","updated_at":"2018-03-30T03:02:15Z","author_association":"CONTRIBUTOR","body":"@rweller, at the moment you can customize `Typography` to have `root` class display as `inline` to have them in the same line.\r\n\r\n````\r\n<Typography classes={{root: [InlineClass]}}>Name</Typography>\r\n````\r\n\r\nWhich [InlineClass] is the class name for the `inline` style generated using `css-module`, `jss` or any other `css-in-js` framework.\r\n\r\nHowever, there is one issue I can see from the code you post, usually `p` element is not supposed to be inline. `span` should be the more proper element to use in this case."}}
{"actor":{"display_login":"t49tran"}}