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

[Fix Issue #15712] Add example of how to use grid system within a modal #15725

Closed
wants to merge 1 commit into from

Conversation

kkirsche
Copy link
Contributor

@kkirsche kkirsche commented Feb 2, 2015

[Fix Issue #15712] Add example of how to use grid system within a modal

@kkirsche
Copy link
Contributor Author

kkirsche commented Feb 2, 2015

Sorry about the other pull request (#15724). For whatever reason my forked master branch seems to have something left over from 2.3.2. Until all of my open PR's are merged or closed, I'm not sure how to fix that so I do have to initiate the branch from Github's page. The only idea I have to "fix" it is to delete the forked repo and re-fork it so that it's current.

@cvrebert cvrebert added the docs label Feb 2, 2015
</div>
<div class="modal-body">
<div class="container-fluid">
...
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show a couple rows with a couple columns in them so the example is more complete and unambiguous.

@kkirsche
Copy link
Contributor Author

kkirsche commented Feb 2, 2015

I can certainly add that, would you like it to show a static modal similar to http://getbootstrap.com/javascript/#modals-examples or is just the code OK?

I plan on adding a few rows of code from the grid offsetting section here which should show a more complete view of what is meant.

Thoughts?

@cvrebert
Copy link
Collaborator

cvrebert commented Feb 2, 2015

There should probably be a live non-static example.

@kkirsche
Copy link
Contributor Author

kkirsche commented Feb 2, 2015

Hey @cvrebert that's been added, you may want to look at the tests for dc224d2 though, it failed for no reason related to my code but rather due to an issue with the box. Specifically it fails because it failed to install everything it needed to run it's tests.

Excerpt:

> grunt test
Loading "concat.js" tasks...ERROR
>> Error: Cannot find module 'strip-ansi'
...
Running "cssmin:minifyCore" (cssmin) task
Running "cssmin:minifyTheme" (cssmin) task
Warning: Task "concat" not found.� Use --force to continue.
Aborted due to warnings.

@cvrebert
Copy link
Collaborator

cvrebert commented Feb 2, 2015

FYI, you don't need to make a dummy commit in the future. The Core Team can force Travis to retry pull request builds.

@kkirsche
Copy link
Contributor Author

kkirsche commented Feb 2, 2015

Ah ok, I wasn't sure. Sorry about that.

@kkirsche
Copy link
Contributor Author

Just wanted to follow up on this and see if anything was missing. I can rebase it if that's preferred also

… modal

[Fix Issue twbs#15712] Add example of how to use grid system within a modal

Show multiple rows with different column patterns

Show multiple rows with different column patterns per @cvrebert's suggestion

Add live example for the modal

Rerun tests
@kkirsche
Copy link
Contributor Author

Rebased this down to a single commit. Wanted to follow up about this and just check if anything else was necessary. Thanks for your time guys 👍

@mdo
Copy link
Member

mdo commented Feb 19, 2015

It feels unnecessary to add, but I get it.

Perhaps, in addition to this, we clarify our grid docs (probably in v4) to reiterate the use of fluid containers and what not.

@kkirsche
Copy link
Contributor Author

Anything I can do to help you with that?

@cvrebert cvrebert added this to the v3.3.4 milestone Feb 20, 2015
@cvrebert cvrebert mentioned this pull request Feb 20, 2015
@cvrebert cvrebert closed this in 504435e Feb 20, 2015
@kkirsche kkirsche deleted the patch-10 branch June 16, 2015 00:04
@julzmon
Copy link

julzmon commented Jul 27, 2015

Can someone please tell why when using the grid inside a modal it's mentioned to place it inside a .container-fluid? Shouldn't it work without it or are there some issues without it?

@cvrebert
Copy link
Collaborator

@julzmon The container provides necessary padding on the edges of rows to account for the negative margin/padding of grid columns.

@twbs twbs locked and limited conversation to collaborators Jul 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants