From cadce7b210a339bb701f639c4bff65a2157e13de Mon Sep 17 00:00:00 2001 From: MG12 Date: Thu, 19 Nov 2015 09:40:27 +0800 Subject: [PATCH] change the className of select panel container --- HISTORY.md | 7 ++++++- assets/index.less | 2 +- assets/index/{TimePanel.less => Panel.less} | 1 - package.json | 2 +- src/TimePicker.jsx | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) rename assets/index/{TimePanel.less => Panel.less} (73%) diff --git a/HISTORY.md b/HISTORY.md index e919c58..5be49af 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,7 +3,12 @@ History --- -0.5.0 / 2015-11-18 +0.5.1 / 2015-11-19 +------------------ + +`update` change the className of select panel container. + +0.5.0 / 2015-11-19 ------------------ `update` clear input content and close select panel when click [x] on select panel. diff --git a/assets/index.less b/assets/index.less index bc904de..36156cb 100644 --- a/assets/index.less +++ b/assets/index.less @@ -17,7 +17,7 @@ } @import "./index/Picker"; -@import "./index/TimePanel"; +@import "./index/Panel"; @import "./index/Header"; @import "./index/Combobox"; @import "./index/Select"; diff --git a/assets/index/TimePanel.less b/assets/index/Panel.less similarity index 73% rename from assets/index/TimePanel.less rename to assets/index/Panel.less index 574605f..0abdbfb 100644 --- a/assets/index/TimePanel.less +++ b/assets/index/Panel.less @@ -2,7 +2,6 @@ display: inline-block; position: relative; outline: none; - font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif; border: 1px solid #ccc; list-style: none; font-size: 12px; diff --git a/package.json b/package.json index 03cd1d9..437d9b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-time-picker", - "version": "0.5.0", + "version": "0.5.1", "description": "React TimePicker", "keywords": [ "react", diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index 78d6de6..a6ea7a9 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx @@ -138,7 +138,7 @@ const Picker = React.createClass({ return (