Skip to content

Commit

Permalink
Hack to fix label card spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielKS committed Jul 20, 2021
1 parent 5dc1da1 commit 12ac1d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/templates/diary/infinite_scroll_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3 ng-if="!infScrollControl.reachedEnd">{{'diary.scroll-to-load-more' | transla
</div>
</div>
<div class="row">
<div class="col-90" ng-click="showDetail($event, trip)">
<div class="col-90" ng-click="showDetail($event, trip)" style="margin-top: -10px;">
<div ng-class="listLocationClass" id="no-border" href="#" style="background-color: transparent; font-size: 0.8em; padding-top: 5px; padding-bottom: 5px; padding-left: 30px; margin-top: 0; margin-bottom: 0;">
<i class="icon ion-ios-location" style="font-size: 16px; left: 0; color: #33e0bb;"></i>
{{trip.start_display_name}}
Expand All @@ -70,12 +70,12 @@ <h3 ng-if="!infScrollControl.reachedEnd">{{'diary.scroll-to-load-more' | transla
</div>
</div>
<div class="row" style="margin-top: 0px">
<div ng-repeat="input in userInputDetails" class={{input.width}} style="text-align: center;font-size: 14px;font-weight: 600;" ng-attr-id="{{ 'userinputlabel' + input.name" translate>
<div ng-repeat="input in userInputDetails" class={{input.width}} style="margin-top: -8px; text-align: center;font-size: 14px;font-weight: 600;" ng-attr-id="{{ 'userinputlabel' + input.name" translate>
{{input.labeltext}}
</div>
</div>
<div class="row">
<div ng-repeat="input in userInputDetails" class={{input.width}} style="text-align: center;" ng-attr-id="{{ 'userinput' + input.name">
<div ng-repeat="input in userInputDetails" class={{input.width}} style="margin-top: -7px; text-align: center;" ng-attr-id="{{ 'userinput' + input.name">
<div ng-if="trip.userInput[input.name]" class="input-confirm-container">
<button ng-click ="openPopover($event, trip, input.name)" class="button btn-input-confirm btn-input-confirm-green">
{{trip.userInput[input.name].text}}
Expand Down

0 comments on commit 12ac1d2

Please sign in to comment.