question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem using CSS grid

See original GitHub issue

Hello all!

I’m just starting to work with this library and really excited about it! I’m testing it right now and I’m trying to make it work with a Grid CSS Layout. Unfortunately I’m having some trouble here. I uploaded my project at Code Sandbox: https://codesandbox.io/s/4tx93

If you open the screen outside of editor or resizes it, you gonna see what I’m talking about, the arrows seems to be coming from the center of column instead of the elements directly. Another problem that I see, is that the arrows are overlapping each element, going over the elements. If I add justify-self: center; to the .col members, it works, but I don’t want it actually.

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pierpocommented, Apr 26, 2020

Haha my pleasure 😊 have a nice weekend!

1reaction
RSchneider94commented, Apr 26, 2020

@pierpo of course, what a dumb question from my side. Of course!! I need to change the start and end. Sorry and thanks for replying! But also thanks for explaining the idea with overlap, in case I really wish to use center. Thanks again for all and have a nice weekend! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

9 Biggest Mistakes with CSS Grid
In this video, I explain the 9 Biggest Mistakes people are making, with advice and tips for avoiding these pitfalls and breaking old...
Read more >
html - CSS grid layout problems
Your syntax for the grid in .page-grid is wrong, and so no grid is even registering. /* formerly 1fr, repeat (2 1fr) should...
Read more >
Modern CSS grid solutions to common layout problems
In CSS grids, row and column definitions are ignored when there are not enough elements. In the above example, when there are only...
Read more >
CSS Grid Gotchas And Stumbling Blocks
A true grid is two-dimensional. The two dimensions are rows and columns, and with grid layout you can control both at once. With...
Read more >
Solving Layout Problems With CSS Grid and Friends - YouTube
CSS Grid Layout launched into the majority of our browsers in 2017. As designers and developers have started to use Grid Rachel has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found