Skip to content

Commit

Permalink
fix: Modal组件footer内边距调整
Browse files Browse the repository at this point in the history
  • Loading branch information
lynsun committed Mar 8, 2017
1 parent a5c4dc7 commit 4090a7b
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 17 deletions.
8 changes: 4 additions & 4 deletions dist/atui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/atuiFilter.js

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

2 changes: 1 addition & 1 deletion dist/atuiWidget.js

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

4 changes: 2 additions & 2 deletions dist/greater-blue.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/style.js

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

4 changes: 2 additions & 2 deletions dist/tao-orange.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/tmall-red.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "atui",
"version": "0.0.30",
"version": "0.0.31",
"description": "components built with Vue.js",
"main": "dist/atui.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tabs/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ title:
new Vue({
el: 'body',
components: {
vTabs: atui.Tabset,
vTabs: atui.Tabs,
vTab: atui.Tabset.Tab
}
})
Expand Down
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ const { Tab } = Tabset

const { TreeNode } = Tree

// 兼容老的tabs
const Tabs = Tabset

const VueComponent = {
Layout,
Col,
Expand Down Expand Up @@ -97,6 +100,7 @@ const VueComponent = {
Accordion,
Popover,
Tabset,
Tabs,
Tab,
Steps,
Step,
Expand Down
4 changes: 2 additions & 2 deletions src/styles/modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@modal-content-border-color: rgba(0, 0, 0, .2);
@modal-content-fallback-border-color: #999;
@modal-backdrop-bg: #000;
@modal-footer-padding: 10px 16px 10px 10px;
@modal-header-border-color: #e5e5e5;
@modal-footer-border-color: @modal-header-border-color;
@modal-lg: 900px;
Expand Down Expand Up @@ -87,8 +88,7 @@
}

.@{prefix-cls-modal}-footer {
padding: @modal-inner-padding;
padding-top: 0;
padding: @modal-footer-padding;
font-size: 0px; // 消除inline-block元素间默认的间隙
text-align: right;
&:extend(.clearfix all);
Expand Down

0 comments on commit 4090a7b

Please sign in to comment.