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

.col-offset-0 example addition to docs #17003

Closed
nathanhleung opened this issue Aug 18, 2015 · 1 comment · Fixed by #18251
Closed

.col-offset-0 example addition to docs #17003

nathanhleung opened this issue Aug 18, 2015 · 1 comment · Fixed by #18251

Comments

@nathanhleung
Copy link

I was having a bit of trouble making a responsive column layout where -xs devices would have an offset while -sm devices would not. On a whim I decided to try adding a .col-sm-offset-0 class and it worked, however I had to search for a while since -offset-0 classes are undocumented. I think it would be really helpful in the future if this was added to the documentation. If you guys feel the same I can create a quick pull request on gh-pages with the addition.

Relevant code:

<div class="row">
  <div class="col-xs-6 col-sm-4">
  </div>
  <div class="col-xs-6 col-sm-4">
  </div>
  <div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-0">
  </div>
</div>
@nathanhleung nathanhleung changed the title Adding offset-0 example to bootstrap grid css documentation .col-offset-0 example addition to docs Aug 18, 2015
@cvrebert cvrebert added the v3 label Aug 19, 2015
@mdo mdo added this to the v3.3.6 milestone Nov 15, 2015
mdo added a commit that referenced this issue Nov 15, 2015
@mdo
Copy link
Member

mdo commented Nov 15, 2015

Coming in #18251.

@mdo mdo mentioned this issue Nov 15, 2015
krissihall pushed a commit to krissihall/bootstrap that referenced this issue Feb 24, 2016
* tag 'v3.3.6' of https://github.com/twbs/bootstrap: (356 commits)
  prep release
  grunt after version bump
  bump version
  grunt
  Updating "Reporting upstream browser bugs" for IE
  Docs: Add missing `tabindex="-1"` & `role="dialog"` to some `.modal`s
  Ensure proper z-indexing in input-groups
  Fix IE9 clickthru of carousel controls
  that @cvrebert lifestyle
  fixes twbs#17003
  [v3] Use border-radius mixin in button-groups.less
  Follow up to twbs#16975
  Run `grunt`.
  Update devDependencies.
  Update verb tenses to proper tense for feature deprecations
  Port 33103c0 to v3
  Port 6f14f02 to v3
  Add http://wkbug.com/150715 to Wall of Browser Bugs
  Add docs regarding .progress, inline style attrs, and CSP; closes twbs#17785
  Run `grunt.
  ...
chiraggmodi pushed a commit to chiraggmodi/bootstrap that referenced this issue Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants