Skip to content

Commit

Permalink
add overflow_middle_container
Browse files Browse the repository at this point in the history
  • Loading branch information
s12chung committed Aug 5, 2014
1 parent 17718c7 commit dbf6d1b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions app/assets/stylesheets/alignment/_overflow.scss
Expand Up @@ -16,4 +16,25 @@
overflow: hidden;
}
}
}
@mixin overflow_middle_container {
@include clearfix;

& > * {
text-align: center;
overflow: hidden;
}
& > :first-child {
float: left;

overflow: visible;
text-align: inherit;

& + * {
float: right;

overflow: visible;
text-align: inherit;
}
}
}
2 changes: 1 addition & 1 deletion lib/patterns/version.rb
@@ -1,3 +1,3 @@
module Patterns
VERSION = "0.1.6"
VERSION = "0.1.7"
end

0 comments on commit dbf6d1b

Please sign in to comment.