Skip to content

Commit

Permalink
Merge pull request airyland#214 from flynntsc/master
Browse files Browse the repository at this point in the history
flex-col & flex-row add vux-
  • Loading branch information
airyland committed May 29, 2016
2 parents 0d01259 + b76f4ef commit ff0504c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/flexbox/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="vux-flexbox" :class="{'flex-col': orient === 'vertical', 'flex-row': orient === 'horizontal'}">
<div class="vux-flexbox" :class="{'vux-flex-col': orient === 'vertical', 'vux-flex-row': orient === 'horizontal'}">
<slot></slot>
</div>
</template>
Expand Down Expand Up @@ -39,14 +39,14 @@ export default {
margin-left: 0!important;
margin-top: 0!important;
}
.flex-col {
.vux-flex-col {
box-orient: vertical;
flex-direction: column;
}
.flex-col > .vux-flexbox-item {
.vux-flex-col > .vux-flexbox-item {
width: 100%;
}
.flex-row {
.vux-flex-row {
box-direction: row;
box-orient: horizontal;
flex-direction: row;
Expand Down

0 comments on commit ff0504c

Please sign in to comment.