aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMG12 <wuzhao.mail@gmail.com>2015-11-20 13:40:50 +0800
committerMG12 <wuzhao.mail@gmail.com>2015-11-20 13:40:50 +0800
commit1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf (patch)
treee85c6c53bc16376f1a913815e6c820d962a3cdc6 /src
parent9f9f39e4fb8073f6f31d545c746e4c3b7ad651da (diff)
parent96a4cefce60a06e539dfb8eacfc27f026d6c8a41 (diff)
downloadtime-picker-1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf.tar.gz
time-picker-1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf.tar.zst
time-picker-1d08ffb2f913e1cc9d39fd56cf9d0522d3bf29bf.zip
Merge pull request #1 from react-component/update-201511200.7.10.7.0
change the className of panel and its container.
Diffstat (limited to 'src')
-rw-r--r--src/TimePicker.jsx2
-rw-r--r--src/module/Panel.jsx2
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}