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

Elements broken in Playground #108

Closed
nicholasess opened this issue Jul 1, 2018 · 3 comments
Closed

Elements broken in Playground #108

nicholasess opened this issue Jul 1, 2018 · 3 comments
Labels
question Usage question or clarification request

Comments

@nicholasess
Copy link
Contributor

Bug Report

Describe the bug
When I add a set of elements that are larger as the width of the playground, it breaks the element

To Reproduce
captura de tela 2018-07-01 as 15 39 10

Enviroment

  • OS: macOS High Sierra 10.13.4
  • Node/yarn version: 8.5.0/1.6.0
@marceloavf
Copy link
Contributor

Hey @nicholasess, thank you for the feedback.

I was debugging it here and seems to be everything fine with the example.

Could you please provide an example code or repository for this bug, please?

@marceloavf marceloavf added the question Usage question or clarification request label Jul 2, 2018
@nicholasess
Copy link
Contributor Author

@marceloavf
Copy link
Contributor

marceloavf commented Jul 2, 2018

It's an underised effect of css, the problem lies in that your a tags are display: inline (default browser) elements.

The links are cutted in a half because they are treated are normal text, not block-level elements.

You can set white-space: nowrap; to them but they will not be responsive as the screen resizes, so using display: inline-block; should fix the problem and make them real block-level links.

I hope this is what you are looking for ✋

image

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

No branches or pull requests

2 participants