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

Change styling to display: inline-block? #40

Open
quachsimon opened this issue Nov 9, 2017 · 2 comments
Open

Change styling to display: inline-block? #40

quachsimon opened this issue Nov 9, 2017 · 2 comments

Comments

@quachsimon
Copy link

I am trying to display some texts on the right side of the stars however the component is set to be displayed as block.

How would I change it so that my texts (in

tags) are displayed beside it rather than below it?

@anvk
Copy link
Contributor

anvk commented Nov 9, 2017

What I did was to wrap this component into inline-block div. I believe by default any component has to occupy 100% of space. It is up to the developer to decide on how much space needs to be taken by limiting parent/container in size.

@quachsimon
Copy link
Author

I tried wrapping it inside an inline-block div with a width of 100% using the component and texts but I am getting the same result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants