From 6d6d706ad0ef3860618f15d611497895b6592424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Wed, 31 Jul 2019 18:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mini=E7=9A=84=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E5=AE=9A=E4=B9=89;=E5=A2=9E=E5=8A=A0=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E6=9D=A1=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/button.wc | 4 +- src/form/input.wc | 2 +- src/form/progress.wc | 118 +++++++++++++++++++++++++++++++++++++++++++ src/scroll/index.wc | 1 + 4 files changed, 122 insertions(+), 3 deletions(-) create mode 100644 src/form/progress.wc diff --git a/src/form/button.wc b/src/form/button.wc index afb21a2..346b6e1 100644 --- a/src/form/button.wc +++ b/src/form/button.wc @@ -86,8 +86,8 @@ } :host([size='mini']) { button { - min-width: 20px; - height: 20px; + min-width: 24px; + height: 24px; font-size: 12px; } .icon { diff --git a/src/form/input.wc b/src/form/input.wc index 0275ab1..6c3a412 100644 --- a/src/form/input.wc +++ b/src/form/input.wc @@ -205,7 +205,7 @@ li { } :host([size='mini']) { .label { - height: 20px; + height: 24px; font-size: 12px; } .icon { diff --git a/src/form/progress.wc b/src/form/progress.wc new file mode 100644 index 0000000..3d74653 --- /dev/null +++ b/src/form/progress.wc @@ -0,0 +1,118 @@ + + + + + diff --git a/src/scroll/index.wc b/src/scroll/index.wc index a6e05d2..e2f11db 100644 --- a/src/scroll/index.wc +++ b/src/scroll/index.wc @@ -12,6 +12,7 @@ .container { overflow: hidden; + position: relative; width: 100%; height: 100%; }