From 97d8859ff8fd4b7b196b699099184eb5cd9ed134 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 15 Jun 2015 20:04:14 +0800 Subject: [PATCH] update dialog style --- style/components/dialog.less | 2 +- style/components/dialog/Dialog.less | 6 ++++-- style/components/index.less | 2 +- style/components/{tab.less => tabs.less} | 0 4 files changed, 6 insertions(+), 4 deletions(-) rename style/components/{tab.less => tabs.less} (100%) diff --git a/style/components/dialog.less b/style/components/dialog.less index f96155f66a..b1c918a137 100644 --- a/style/components/dialog.less +++ b/style/components/dialog.less @@ -5,6 +5,6 @@ .@{dialogPrefixCls}-footer button + button { - margin-left: 10px; + margin-left: 8px; margin-bottom: 0; } \ No newline at end of file diff --git a/style/components/dialog/Dialog.less b/style/components/dialog/Dialog.less index 43df2258db..2a7ddeb1b7 100644 --- a/style/components/dialog/Dialog.less +++ b/style/components/dialog/Dialog.less @@ -60,12 +60,14 @@ } &-body { - padding: 20px; + padding: 8px 20px; + font-size: 12px; + line-height: 1.5; } &-footer { border-top: 1px solid #e9e9e9; - padding: 10px 20px 10px 10px; + padding: 8px 20px 16px 10px; text-align: right; border-radius: 0 0 5px 5px; } diff --git a/style/components/index.less b/style/components/index.less index 7a348095ad..cac1526409 100644 --- a/style/components/index.less +++ b/style/components/index.less @@ -5,7 +5,7 @@ @import "datepicker"; @import "dialog"; @import "confirm"; -@import "tab"; +@import "tabs"; @import "tooltip"; @import "form"; @import "loading"; diff --git a/style/components/tab.less b/style/components/tabs.less similarity index 100% rename from style/components/tab.less rename to style/components/tabs.less