aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMG12 <wuzhao.mail@gmail.com>2015-11-20 13:28:12 +0800
committerMG12 <wuzhao.mail@gmail.com>2015-11-20 13:28:12 +0800
commit96a4cefce60a06e539dfb8eacfc27f026d6c8a41 (patch)
treee85c6c53bc16376f1a913815e6c820d962a3cdc6 /src
parent9f9f39e4fb8073f6f31d545c746e4c3b7ad651da (diff)
downloadtime-picker-96a4cefce60a06e539dfb8eacfc27f026d6c8a41.tar.gz
time-picker-96a4cefce60a06e539dfb8eacfc27f026d6c8a41.tar.zst
time-picker-96a4cefce60a06e539dfb8eacfc27f026d6c8a41.zip
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}