From ddf4bc8b57ca6ba177ebb7e740b741782130cc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 15 Aug 2019 21:10:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96select?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/select.wc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/form/select.wc b/src/form/select.wc index 8fe31d5..e6ba191 100644 --- a/src/form/select.wc +++ b/src/form/select.wc @@ -36,8 +36,8 @@ input { flex: 1; - width: auto; - min-width: 0; + width: 0; + min-width: 64px; height: 100%; padding: 0 5px; border: 0; @@ -88,7 +88,7 @@ .opt-box { display: none; position: fixed; - z-index: 10240; + z-index: 10260; left: 0; top: 0; width: 200px; @@ -127,6 +127,7 @@ height: 30px; line-height: 30px; padding: 0 8px; + text-align: left; text-overflow: ellipsis; white-space: nowrap; }