Skip to content

Commit

Permalink
Merge branch 'v2' of https://github.com/jdf2e/nutui into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Franslee committed Mar 4, 2019
2 parents 4fe911a + 24888f7 commit 9bb48d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/packages/skeleton/layout/skeleton-column.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:style="{
width:width,
padding:padding,
'align-items':center
}"
>
<slot></slot>
Expand All @@ -26,6 +27,10 @@
padding:{
type:String,
default:"0 0 0 0"
},
center:{
type:String,
default:"flex-start"
}
},
}
Expand Down
7 changes: 6 additions & 1 deletion src/packages/skeleton/layout/skeleton-row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:style="{
width:width,
padding:padding,
'justify-content': center
}"
>
<slot></slot>
Expand All @@ -21,11 +22,15 @@
props:{
width:{
type:String,
default:"100%"
default:"auto"
},
padding:{
type:String,
default:"0 0 0 0"
},
center:{
type:String,
default:"flex-start"
}
},
}
Expand Down

0 comments on commit 9bb48d3

Please sign in to comment.