Skip to content

Commit

Permalink
css change in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshwarpatlolla committed Jul 7, 2016
1 parent 64224e7 commit f881741
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ Few more features are also added apart from the above mentioned features.

### 15) v1.2.0

Lots of bug fixes.
Lots of bug fixes. Lots of PR's merged.
##License:
Expand Down
2 changes: 1 addition & 1 deletion dist/ionic-datepicker.bundle.min.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions src/ionic-datepicker-popup.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="selected_date_full">{{selctedDateEpoch | date : mainObj.dateFormat}}</div>
<div class="date_selection">
<div class="row show_nav">
<div class="col col-10 prev_btn_section" ng-click="prevMonth()">
<div class="col col-10 prev_btn_section col-center" ng-click="prevMonth()">
<button class="button-clear"
ng-class="{'pointer_events_none':((firstDayEpoch - 86400000) < fromDate)}">
<i class="icon ion-chevron-left"></i>
</button>
</div>
<div class="col col-80 text-center">
<div class="col col-80 month_year_section text-center">
<div class="row select_section">
<div class="col col-50 padding_right_5px">
<label class="item item-input item-select month_select">
Expand All @@ -22,12 +22,13 @@
<div class="col col-50 padding_left_5px">
<label class="item item-input item-select year_select">
<span class="input-label">&nbsp;</span>
<select ng-model="data.currentYear" ng-change="yearChanged(data.currentYear)" ng-options="year for year in yearsList"></select>
<select ng-model="data.currentYear" ng-change="yearChanged(data.currentYear)"
ng-options="year for year in yearsList"></select>
</label>
</div>
</div>
</div>
<div class="col col-10 next_btn_section" ng-click="nextMonth()">
<div class="col col-10 next_btn_section col-center" ng-click="nextMonth()">
<button class="button-clear"
ng-class="{'pointer_events_none':((lastDayEpoch + 86400000)> toDate)}">
<i class="icon ion-chevron-right"></i>
Expand Down
4 changes: 4 additions & 0 deletions src/ionic-datepicker.styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
padding-right: 5px;
}

.ionic_datepicker_popup .month_year_section {
padding: 5px 0;
}

.ionic_datepicker_popup .calendar_grid {
height: 215px;
}
Expand Down

0 comments on commit f881741

Please sign in to comment.