From 725077effef8bfa32a9e19c19053169e738b6209 Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Thu, 1 Dec 2016 23:04:52 +0800 Subject: [PATCH] Alert: improve style --- packages/tabs/src/tabs.vue | 2 +- packages/theme-default/src/alert.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tabs/src/tabs.vue b/packages/tabs/src/tabs.vue index 4f874a96..c9cf3cf4 100644 --- a/packages/tabs/src/tabs.vue +++ b/packages/tabs/src/tabs.vue @@ -91,7 +91,7 @@ const activeBar = !type ?
: null; - + const tabs = this.$children.map((tab, index) => { let btnClose = h('span', { class: { diff --git a/packages/theme-default/src/alert.css b/packages/theme-default/src/alert.css index a5ce5b8e..461c5f10 100644 --- a/packages/theme-default/src/alert.css +++ b/packages/theme-default/src/alert.css @@ -35,7 +35,7 @@ @e content { display: table-cell; - padding-left: 8px; + padding: 0 8px; } @e icon {