Skip to content

Commit

Permalink
Fix Image Aspect Ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
reldredge71 committed Aug 20, 2021
1 parent 9002455 commit 222c461
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/branded/step-1/branded-checkout-step-1.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3 class="panel-name" translate>{{'PAYMENT'}}</h3>
<div class="panel-body">
<h3 class="panel-name" translate>{{'CHOOSE_RESOURCE'}}</h3>
<div class="row">
<div class="col-sm-4">
<div class="col-sm-3">
<div class="row">
<label class="radio-inline">
<input
Expand All @@ -67,7 +67,7 @@ <h3 class="panel-name" translate>{{'CHOOSE_RESOURCE'}}</h3>
</div>
</div>
<div class="col-sm-4">
<img ng-src="{{$ctrl.premiumImageUrl}}" style="width: 200px; height: 200px" />
<img class="premium-thumbnail" ng-src="{{$ctrl.premiumImageUrl}}" />
</div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions src/assets/scss/_checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,7 @@
.cover-fees-text {
margin-left: 5px;
}

.premium-thumbnail {
width: 200px;
}

0 comments on commit 222c461

Please sign in to comment.