Skip to content

Commit d53beb6

Browse files
committed
Makes the calendar width fluid
1 parent 3a557b6 commit d53beb6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Changelog
22
=========
33
## 3.0.3
44
* Localize AM and PM strings
5+
* Make calendar fluid width
56

67
## 3.0.2
78
* Fixes typescript typings not being exposed publicly

css/react-datetime.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.rdtPicker {
99
display: none;
1010
position: absolute;
11-
width: 250px;
11+
min-width: 250px;
1212
padding: 4px;
1313
margin-top: 1px;
1414
z-index: 99999 !important;

src/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
import React from 'react';
44
import Datetime from './datetime/DateTime';
55

6+
// import moment from 'moment';
7+
// import 'moment/locale/tzm-latn';
8+
// moment.locale('tzm-latn');
9+
610
class App extends React.Component {
711
state = {
812
date: new Date()

0 commit comments

Comments
 (0)