Permalink
Browse files

fix floating element clearing

  • Loading branch information...
herereadthis committed Jun 20, 2015
1 parent c8158cf commit 15dab93e0f5fcdf23397644cc6ac5fae6979c6b8
Showing with 21 additions and 5 deletions.
  1. +2 −2 Gruntfile.js
  2. +1 −1 bower.json
  3. +1 −1 package.json
  4. +9 −1 src/less/page_layout.less
  5. +8 −0 src/sass/_page_layout.scss
View
@@ -220,7 +220,7 @@ module.exports = function (grunt) {
precision: 4
},
files: {
'<%= config.dist %>/css/main.sass-minified.css': '<%= config.src %>/sass/main.scss'
'<%= config.dist %>/css/main.sass-minified.css': '<%= config.src %>/sass/bellmaker.scss'
}
},
uncompressedSass: {
@@ -229,7 +229,7 @@ module.exports = function (grunt) {
precision: 4
},
files: {
'<%= config.dist %>/css/main.sass.css': '<%= config.src %>/sass/main.scss'
'<%= config.dist %>/css/main.sass.css': '<%= config.src %>/sass/bellmaker.scss'
}
}
},
View
@@ -1,6 +1,6 @@
{
"name": "bellmaker",
"version": "0.4.14",
"version": "0.4.15",
"authors": [
{
"name": "Jimmy Ha",
View
@@ -1,6 +1,6 @@
{
"name": "bellmaker",
"version": "0.4.14",
"version": "0.4.15",
"description": "Responsive CSS media query library for LESS and SASS, with device-agnostic and device-specific breakpoints",
"repository": {
"type": "git",
View
@@ -3,7 +3,15 @@
.bellmaker_container {
margin-right: auto;
margin-left: auto;
// If the container contains floating elements, this ensures that the
// container will expand vertically to hold all elements.
&:after {
content: "";
float: none;
clear: both;
display: block;
}
@media @da_baseline {
width: @pw_baseline;
}
@@ -4,6 +4,14 @@
margin-right: auto;
margin-left: auto;
// If the container contains floating elements, this ensures that the
// container will expand vertically to hold all elements.
&:after {
content: "";
float: none;
clear: both;
display: block;
}
@media #{$da_baseline} {
width: $pw_baseline;
}

0 comments on commit 15dab93

Please sign in to comment.