Skip to content

Commit c71facf

Browse files
committed
Removed unnecessary bottom margin when in iframe
1 parent d61c249 commit c71facf

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

resources/js/pages/questions.view.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div style="min-height:400px; margin-bottom:100px">
2+
<div :style="!inIFrame ? 'min-height:400px; margin-bottom:100px' : 'margin-bottom:10px;'">
33
<b-modal
44
id="modal-not-updated"
55
ref="modalNotUpdated"
@@ -1416,7 +1416,9 @@
14161416
Upload New File
14171417
</b-button>
14181418
</b-row>
1419-
<b-row v-show="!inIFrame && (compiledPDF || bothFileUploadMode) && user.role === 3" class="mt-2">
1419+
<b-row v-show="!inIFrame && (compiledPDF || bothFileUploadMode) && user.role === 3"
1420+
class="mt-2"
1421+
>
14201422
<span class="font-italic">
14211423
{{ bothFileUploadMode ? 'Optionally' : 'Please' }}, upload your compiled PDF on the assignment's <router-link
14221424
:to="{ name: 'students.assignments.summary', params: { assignmentId: assignmentId }}"
@@ -1564,7 +1566,7 @@ export default {
15641566
learningTreeSrc: '',
15651567
assignmentInformationMarginBottom: 'mb-3',
15661568
showSubmissionInformation: true,
1567-
showAssignmentInformation: true,
1569+
showAssignmentInformation: false,
15681570
showAttribution: true,
15691571
showInvalidAssignmentMessage: false,
15701572
presentationMode: false,

0 commit comments

Comments
 (0)