Skip to content

Commit

Permalink
Move calendar to the left in abo detail
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmpp committed Nov 21, 2023
1 parent 616eb5c commit f047277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/scripts/abos/detail/abosdetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h3 class="panel-title">
<label translate>Laufzeit</label>
</div>
<div class="col-md-5">
<p class="input-group">
<p class="input-group abo-input-date-picker">
<input type="text" class="form-control input-date" localdate datetime-picker="dd.MM.yyyy" ng-model="abo.start" is-open="open.start" ng-change="updateAboDatetimePicker()" enable-time="false" datepicker-options="aboPickerStartDate.datepickerOptions" />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="openCalendar($event, 'start')"><i class="fa fa-calendar"></i></button>
Expand All @@ -83,7 +83,7 @@ <h3 class="panel-title">
</div>
<div class="row form-group">
<div class="col-md-offset-4 col-md-5">
<p class="input-group">
<p class="input-group abo-input-date-picker">
<input type="text" class="form-control input-date" localdate datetime-picker="dd.MM.yyyy" ng-model="abo.ende" is-open="open.ende" ng-change="updateAboDatetimePicker()" enable-time="false" datepicker-options="aboPickerEndDate.datepickerOptions" />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="openCalendar($event, 'ende')"><i class="fa fa-calendar"></i></button>
Expand Down
6 changes: 5 additions & 1 deletion app/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -923,4 +923,8 @@ border-color: transparent;
color: #c70000;
font-size: x-large;
display: inline;
}
}

.abo-input-date-picker .dropdown-menu-left {
left: -60px !important;
}

0 comments on commit f047277

Please sign in to comment.