Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
d87431a2
Commit
d87431a2
authored
Jul 18, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spacing and local var rename
parent
0c45458f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
less/mixins.less
less/mixins.less
+5
-4
No files found.
less/mixins.less
View file @
d87431a2
...
...
@@ -442,8 +442,6 @@
.clearfix();
}
// Make a grid
// Creates a wrapper for a series of columns
.make-row() {
// Then clear the floated columns
...
...
@@ -460,6 +458,7 @@
margin-right: (@grid-gutter-width / -2);
}
}
// Generate the columns
.make-column(@columns) {
position: relative;
...
...
@@ -475,6 +474,7 @@
width: percentage((@columns / @grid-columns));
}
}
// Generate the column offsets
.make-column-offset(@columns) {
@media (min-width: @grid-float-breakpoint) {
...
...
@@ -501,9 +501,10 @@
// Inner gutter via padding
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
@max : (@grid-float-breakpoint - 1 );
@max-width: (@grid-float-breakpoint - 1);
// Calculate width based on number of columns available
@media (max-width: @max) {
@media (max-width: @max
-width
) {
width: percentage((@columns / @grid-columns));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment