Skip to content

Commit 4ed6800

Browse files
committed
fix: image size
1 parent b3fd6de commit 4ed6800

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/app/pages/tasks/task-playables/task-display/task-display.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</div>
55
<div
66
class="display-instructions overflow-scrollable {{
7-
timerMode && showTimer && timerPlacement.includes('top') ? 'pad-top' : ''
7+
!timerMode || !showTimer ? '' : timerPlacement.includes('top') ? 'pad-top' : 'pad-bottom'
88
}}"
99
>
1010
<div>
@@ -29,6 +29,7 @@ <h3 *ngIf="subtitle" class="subtitle" [innerHTML]="subtitle"></h3>
2929
section.sectionType === 'image-horizontal' ||
3030
section.sectionType === 'image-square' ||
3131
section.sectionType === 'image-small' ||
32+
section.sectionType === 'image-medium' ||
3233
section.sectionType === 'image-fill'
3334
"
3435
>

src/app/pages/tasks/task-playables/task-display/task-display.component.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@
7676
flex-direction: column;
7777

7878
&.pad-top {
79-
margin-top: 4%;
79+
margin-top: calc(48px + 2%);
80+
}
81+
82+
&.pad-bottom {
83+
margin-bottom: calc(48px + 2%);
8084
}
8185

8286
.title {
@@ -99,6 +103,11 @@
99103
width: 50px;
100104
margin-bottom: 20px;
101105
}
106+
107+
.image-medium {
108+
width: 390px;
109+
margin-bottom: 20px;
110+
}
102111
}
103112

104113
@include for-small-device-only {

0 commit comments

Comments
 (0)