aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/4.3/examples/grid
AgeCommit message (Collapse)AuthorFilesLines
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR2-199/+0
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-04-13Update docs for new XXL grid tierMark Otto1-1/+8
- Updates mentions of number and exact tiers - Updates grid example to include xxl container - Adds some scss-docs references - Cleans up other grid mentions and docs - Updates navbar example to include an expand at XXL variant
2020-03-10Update examples to the Bootstrap 5 gridMartijn Cuppens2-4/+44
2019-08-05Responsive containers (follow-up to #29095) (#29118)Mark Otto1-2/+4
* Follow-up to #29095 This PR fixes the responsive containers that were added in #29095, originally stubbed out in #25631. Apologies to @browner12 for getting that wrong. Fixes #25631. * update navbar as well because we cannot reset all containers uniformly * Update navbars example to include container-xl example to ensure containers match * rewrite responsive containers docs, add table of max-widths * Update container docs - Move table up to the intro - Remove the container example because it's actually hella confusing - Update and link to grid example as a demo instead
2019-07-21v4/v5: Add responsive containers (#29095)Mark Otto2-0/+17
* create responsive containers provide more flexibility and allow the user to determine when containers switch from fluid to fixed width. * fix the base container code this commit fixes the non-media portion of the generated CSS. I learned about the `@extends` directive and was able to put it to good use. I create a new temporary map that contains all the main `$container-max-widths` and join it to our 2 special cases of 'xs' and 'fluid'. Then we loop through that and, with the appropriate infixes, extend our placeholder * formatting for style forgot to run my tests before the last push, i think these are better. * finish incomplete comment * fix the responsive containers using the `@extend` directive I was able to clean up this code * fix responsive containers in the navbar mostly we just look through all of our breakpoints so we can include all of the responsive container classes in the tweaks we have to do for the navbar (redeclaring flex properties, don't double up on padding, etc) * Simplify container extends * Simplify navbar containers * Rearrange, add comments, ensure everything is nested in $enable-grid-classes * Reduce new CSS by using attribute selector We avoid using `@extend` whenever possible, and this is more readable * Update _grid.scss * Update _navbar.scss * Add docs for responsive containers, redesign the container layout page * Add to the Grid example
2019-05-08Documentation tweaks (#28679)Martijn Cuppens1-5/+5
* Documentation tweaks * Remove redundant col-12 classes
2019-03-13Switch to Hugo.XhmikosR2-0/+133
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!