Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.0-beta1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2013 at 14:57 UTC
Updated:
21 Sep 2013 at 03:06 UTC
Jump to comment: Most recent file
For the grid, do you think we should just lead with the initial "col-md-" or also add in the other breakpoints by default of "col-sm-" and "col-lg-"?
Patch which follows has changes for md + sm, also with the change from the fluid row class to just row. New features have been mentioned in #1840980: [meta] Bootstrap 3.0, what did you have in mind?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | bootstrap-3-migrate-grid-system-2077899-4.patch | 3.7 KB | heylookalive |
| #2 | bootstrap-3-migrate-grid-system-2077899-3.patch | 3.12 KB | heylookalive |
| #1 | bootstrap-3-migrate-grid-system-2077899-2.patch | 3.32 KB | heylookalive |
Comments
Comment #1
heylookalive commentedAttaching patch.
Comment #2
heylookalive commentedArgh! Caught up the screenshot change in the diff. Btw not sure how to supply a patch for an image file change, in any case the subtheme screenshot image is old and needs to be replaced with the one from the base theme.
Comment #3
markhalliwellAccording to Bootstrap 2.x -> 3.0 migration, these should just be
col-md-*. The extracol-sm-*is unnecessary ATM.The beginning
$class = FALSEwasn't changed. Also, I'm not entirely thrilled that there are multiple classes here. This function is a help function to return one class for the number of columns.Extra whitespace at EOL.
Comment #4
heylookalive commentedMisunderstoof that classes flow up so no more multiple classes. I've gotten rid of the function that works out the content columns class as this should be in the page_preprocess anyway and means we can remove a function call from a template.
All columns on xs go full width, then from there sm has values set and flow up to md and lg.
Comment #5
markhalliwellI'll be able to properly review this once #2071683: CDN Change for Bootstrap 3.0 is in.
Comment #6
markhalliwell@heylookalive thanks!
Committed 294952d.
Comment #7
heylookalive commentedAwesome! Thanks for the git attribution btw :)
Comment #8
markhalliwellNp :) Courtesy of https://drupal.org/project/drush_iq
Comment #10
markhalliwell