Skip to content

Commit

Permalink
Merge pull request #666 from OpenOlitor/fix/OO_move_calendar_to_the_l…
Browse files Browse the repository at this point in the history
…eft_in_abo

Move calendar to the left in abo detail
  • Loading branch information
mcmpp authored Nov 22, 2023
2 parents 616eb5c + f047277 commit d7db445
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 d7db445

Please sign in to comment.