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

Insufficient documentation for column offsetting #24414

Closed
thepurpleblob opened this issue Oct 18, 2017 · 6 comments
Closed

Insufficient documentation for column offsetting #24414

thepurpleblob opened this issue Oct 18, 2017 · 6 comments

Comments

@thepurpleblob
Copy link

thepurpleblob commented Oct 18, 2017

In Grid system > Offsetting columns it says...

With the move to flexbox in v4, we no longer have v3’s style of offset classes. Instead, use margin utilities like .mr-auto to force sibling columns away from one another.

There is no further clue what this means. What is '.mr-auto'? The example doesn't help. Well, it doesn't help me anyway.

@jipexu
Copy link
Contributor

jipexu commented Oct 18, 2017

offset are back in next beta ...
for the available doc mr-auto ......
https://getbootstrap.com/docs/4.0/utilities/flex/

@thepurpleblob
Copy link
Author

Ahh... I assume it's talking about this stuff, http://v4-alpha.getbootstrap.com/utilities/spacing/

How would you know? It needs a link at least.

@jkry97
Copy link

jkry97 commented Oct 18, 2017

For me what is not clear from the docs is, using mr-auto/ ml-auto etc., is it possible to achieve what we can with bootstrap 3 offsets.
Say for example I want to create a layout with col-6 offset by 4 cols inside a row.
In BS 3, I could do, .col-offset-4 .col-6, how to achieve this in BS 4?

@thepurpleblob
Copy link
Author

Yeh - I don't get it either. I couldn't get the ml-auto style things to do anything useful. I gave up and stuck some empty columns in. It's not as elegant but gets the job done.

@jipexu
Copy link
Contributor

jipexu commented Oct 18, 2017

yes not proper way to do every things ...

but be happy all this class are back ...
#23360

@mdo
Copy link
Member

mdo commented Oct 18, 2017

Closing as offsets are back and with improved docs.

@mdo mdo closed this as completed Oct 18, 2017
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

4 participants