Skip to content

Commit f881741

Browse files
css change in popup
1 parent 64224e7 commit f881741

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Few more features are also added apart from the above mentioned features.
344344

345345
### 15) v1.2.0
346346

347-
Lots of bug fixes.
347+
Lots of bug fixes. Lots of PR's merged.
348348
349349
350350
##License:

dist/ionic-datepicker.bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ionic-datepicker-popup.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="selected_date_full">{{selctedDateEpoch | date : mainObj.dateFormat}}</div>
22
<div class="date_selection">
33
<div class="row show_nav">
4-
<div class="col col-10 prev_btn_section" ng-click="prevMonth()">
4+
<div class="col col-10 prev_btn_section col-center" ng-click="prevMonth()">
55
<button class="button-clear"
66
ng-class="{'pointer_events_none':((firstDayEpoch - 86400000) < fromDate)}">
77
<i class="icon ion-chevron-left"></i>
88
</button>
99
</div>
10-
<div class="col col-80 text-center">
10+
<div class="col col-80 month_year_section text-center">
1111
<div class="row select_section">
1212
<div class="col col-50 padding_right_5px">
1313
<label class="item item-input item-select month_select">
@@ -22,12 +22,13 @@
2222
<div class="col col-50 padding_left_5px">
2323
<label class="item item-input item-select year_select">
2424
<span class="input-label">&nbsp;</span>
25-
<select ng-model="data.currentYear" ng-change="yearChanged(data.currentYear)" ng-options="year for year in yearsList"></select>
25+
<select ng-model="data.currentYear" ng-change="yearChanged(data.currentYear)"
26+
ng-options="year for year in yearsList"></select>
2627
</label>
2728
</div>
2829
</div>
2930
</div>
30-
<div class="col col-10 next_btn_section" ng-click="nextMonth()">
31+
<div class="col col-10 next_btn_section col-center" ng-click="nextMonth()">
3132
<button class="button-clear"
3233
ng-class="{'pointer_events_none':((lastDayEpoch + 86400000)> toDate)}">
3334
<i class="icon ion-chevron-right"></i>

src/ionic-datepicker.styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
padding-right: 5px;
1919
}
2020

21+
.ionic_datepicker_popup .month_year_section {
22+
padding: 5px 0;
23+
}
24+
2125
.ionic_datepicker_popup .calendar_grid {
2226
height: 215px;
2327
}

0 commit comments

Comments
 (0)