The CSS grid option “Align to main axis” does not work when used in CSS class.
Screenshot 1: Align main axis: End used outside CSS class (the container is not completely at the bottom because I added a bottom padding in the parent element)
Unfortunately, I cannot reproduce the issue. Would you be so kind as to provide a live link and a screencast using https://birdeatsbug.com or https://jam.dev showing and explaining what’s going on? Please use one of the tools mentioned, because they log every single step, making it possible to reproduce the issue.
Is it possible that you are overwriting the class on the ID?
I have removed “CSS grid” from the title and content because it appears to be a flexbox container (display: flex), not some CSS grid issue.
Hi Christoph,
First of all, it’s about the nestable slider and the alignment of the content within the slides.
If you set the “align vertical” settings directly in the slide settings of the nestable slider, it works as expected.
Then you can even remove the class on the slides. This is because the default selector consists of two classes and is therefore more specific than your single class.
It’s a little strange that the option works when enabled in the child element, but not when used in a CSS class in the child element. Does the option in the parent (Slider (Nestable)) overwrite the options in the child elements?