This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit f80f03a9 authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Keep image small on all screen sizes

Prior to this change, the image would
become full-width on narrow screens,
which looks awful.
parent 45bd19d2
1 merge request!36Refactor exercise metadata display
......@@ -6,7 +6,7 @@
<!-- Modal Header -->
<div class="modal-header">
<img class="card-img-top col-md-3" src="{{exercise.imageURL}}" alt="exercise image"
<img class="card-img-top col-3" src="{{exercise.imageURL}}" alt="exercise image"
(error)="correctImageURL($event)"
style="height: auto; float: left;">
<h4 class="modal-title">{{exercise.title}}</h4>
......@@ -83,7 +83,7 @@
</button> -->
<div [ngbTooltip]="helpCommingSoon" placement="bottom">
<button *ngIf="exercise.type == exerciseType.COLLECTION" type="button" class="btn btn-outline-secondary"
style="display: block; margin-bottom: 5px;"
style="display: block; margin-bottom: 5px;"
jhiTranslate="exercise.details.allExercises"
disabled>
>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment