diff options
author | MG12 <wuzhao.mail@gmail.com> | 2015-11-20 13:40:50 +0800 |
---|---|---|
committer | MG12 <wuzhao.mail@gmail.com> | 2015-11-20 13:40:50 +0800 |
commit | 1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf (patch) | |
tree | e85c6c53bc16376f1a913815e6c820d962a3cdc6 /src | |
parent | 9f9f39e4fb8073f6f31d545c746e4c3b7ad651da (diff) | |
parent | 96a4cefce60a06e539dfb8eacfc27f026d6c8a41 (diff) | |
download | time-picker-1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf.tar.gz time-picker-1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf.tar.zst time-picker-1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf.zip |
change the className of panel and its container.
Diffstat (limited to 'src')
-rw-r--r-- | src/TimePicker.jsx | 2 | ||||
-rw-r--r-- | src/module/Panel.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index f0b580c..060446a 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -148,7 +148,7 @@ const Picker = React.createClass({ | |||
148 | 148 | ||
149 | return ( | 149 | return ( |
150 | <Trigger | 150 | <Trigger |
151 | prefixCls={`${prefixCls}-container`} | 151 | prefixCls={`${prefixCls}-panel`} |
152 | popup={this.getPanelElement()} | 152 | popup={this.getPanelElement()} |
153 | popupAlign={align} | 153 | popupAlign={align} |
154 | builtinPlacements={placements} | 154 | builtinPlacements={placements} |
diff --git a/src/module/Panel.jsx b/src/module/Panel.jsx index d5e1521..e372774 100644 --- a/src/module/Panel.jsx +++ b/src/module/Panel.jsx | |||
@@ -90,7 +90,7 @@ const Panel = React.createClass({ | |||
90 | const cls = classnames({ 'narrow': !this.showHour || !this.showSecond }); | 90 | const cls = classnames({ 'narrow': !this.showHour || !this.showSecond }); |
91 | 91 | ||
92 | return ( | 92 | return ( |
93 | <div className={`${prefixCls}-panel ${cls}`}> | 93 | <div className={`${prefixCls}-panel-inner ${cls}`}> |
94 | <Header | 94 | <Header |
95 | prefixCls={prefixCls} | 95 | prefixCls={prefixCls} |
96 | gregorianTimePickerLocale={value.locale} | 96 | gregorianTimePickerLocale={value.locale} |