@@ -23,7 +23,7 @@ The component is localized via its `locale` and `timezone` parameters. Both are
2323 class Example extends React .Component {
2424 render () {
2525 return (
26- < div style= {{ height: ' 10rem ' , width : ' 40em ' }}>
26+ < div style= {{ height: ' 15rem ' }}>
2727 < DateTimeInput
2828 description= " Pick a date and time"
2929 datePlaceholder= " Choose a date"
@@ -45,7 +45,7 @@ The component is localized via its `locale` and `timezone` parameters. Both are
4545- ``` js
4646 const Example = () => {
4747 return (
48- < div style= {{ height: ' 10rem ' , width : ' 40em ' }}>
48+ < div style= {{ height: ' 15rem ' }}>
4949 < DateTimeInput
5050 description= " Pick a date and time"
5151 datePlaceholder= " Choose a date"
@@ -98,7 +98,7 @@ This sample code also allows the user to enter an arbitrary time value by settin
9898 ? new Date (this .state .value ).toString ()
9999 : ' N/A'
100100 return (
101- < div style = {{ width : ' 25em ' }} >
101+ < div>
102102 < div style= {{ marginBottom: ' 1em' , fontStyle: ' italic' }}>
103103 You entered:
104104 < br / >
@@ -155,7 +155,7 @@ This sample code also allows the user to enter an arbitrary time value by settin
155155 const text = value ? new Date (value).toString () : ' N/A'
156156
157157 return (
158- < div style = {{ width : ' 25em ' }} >
158+ < div>
159159 < div style= {{ marginBottom: ' 1em' , fontStyle: ' italic' }}>
160160 You entered:
161161 < br / >
@@ -214,7 +214,7 @@ type: example
214214 render () {
215215 return (
216216 < ApplyLocale locale= " fr" timezone= " Africa/Nairobi" >
217- < div style= {{ height: ' 12rem ' , width : ' 40em ' }}>
217+ < div style= {{ height: ' 14rem ' }}>
218218 < DateTimeInput
219219 description= " Pick a date and time"
220220 datePlaceholder= " Choose a date"
@@ -240,7 +240,7 @@ type: example
240240 const Example = () => {
241241 return (
242242 < ApplyLocale locale= " fr" timezone= " Africa/Nairobi" >
243- < div style= {{ height: ' 12rem ' , width : ' 40em ' }}>
243+ < div style= {{ height: ' 14rem ' }}>
244244 < DateTimeInput
245245 description= " Pick a date and time"
246246 datePlaceholder= " Choose a date"
@@ -304,7 +304,7 @@ type: example
304304 }
305305 render () {
306306 return (
307- < div style= {{ height: ' 12rem ' , width : ' 40em ' }}>
307+ < div style= {{ height: ' 15rem ' }}>
308308 < DateTimeInput
309309 description= " Pick a date and time"
310310 datePlaceholder= " Choose a date"
@@ -349,7 +349,7 @@ type: example
349349 }
350350
351351 return (
352- < div style= {{ height: ' 12rem ' , width : ' 40em ' }}>
352+ < div style= {{ height: ' 15rem ' }}>
353353 < DateTimeInput
354354 description= " Pick a date and time"
355355 datePlaceholder= " Choose a date"
0 commit comments