Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatliu committed Sep 17, 2016
1 parent d7da5c2 commit c91c2da
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 44 deletions.
13 changes: 5 additions & 8 deletions dist/mobi.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mobi.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mobi.min.css

Large diffs are not rendered by default.

13 changes: 5 additions & 8 deletions site/themes/mobi/source/css/mobi.css/mobi.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/themes/mobi/source/css/mobi.css/mobi.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site/themes/mobi/source/css/mobi.css/mobi.min.css

Large diffs are not rendered by default.

44 changes: 20 additions & 24 deletions src/_flexbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
@include flex-container();
}

.flex-vertical {
height: 100%;
}

.flex-left,
.flex-center,
.flex-right,
Expand All @@ -24,8 +20,8 @@
.flex-vertical.flex-top,
.flex-vertical.flex-middle,
.flex-vertical.flex-bottom {
justify-content: flex-start;
align-items: stretch;
justify-content: flex-start;
}

.flex-center,
Expand Down Expand Up @@ -57,13 +53,13 @@
margin-left: - $width-gap-half;
margin-right: - $width-gap-half;

& > .unit,
& > .unit-0,
& > .unit-1-2,
& > .unit-1-3,
& > .unit-2-3,
& > .unit-1-4,
& > .unit-3-4, {
> .unit,
> .unit-0,
> .unit-1-2,
> .unit-1-3,
> .unit-2-3,
> .unit-1-4,
> .unit-3-4, {
padding-left: $width-gap-half;
padding-right: $width-gap-half;
}
Expand Down Expand Up @@ -106,33 +102,33 @@
.flex-vertical {
flex-direction: column;

& > .unit,
& > .unit-0,
& > .unit-1-2,
& > .unit-1-3,
& > .unit-2-3,
& > .unit-1-4,
& > .unit-3-4, {
> .unit,
> .unit-0,
> .unit-1-2,
> .unit-1-3,
> .unit-2-3,
> .unit-1-4,
> .unit-3-4, {
max-width: none;
}

& > .unit-1-2 {
> .unit-1-2 {
max-height: 50%;
}

& > .unit-1-3 {
> .unit-1-3 {
max-height: 33.33%;
}

& > .unit-2-3 {
> .unit-2-3 {
max-height: 66.67%;
}

& > .unit-1-4 {
> .unit-1-4 {
max-height: 25%;
}

& > .unit-3-4 {
> .unit-3-4 {
max-height: 75%;
}
}

0 comments on commit c91c2da

Please sign in to comment.