Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
286 changes: 0 additions & 286 deletions assets/src/scss/frontend/learning-area/components/_assignment.scss

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
@forward 'quiz';
@forward 'assignment';
@forward 'quiz';
13 changes: 13 additions & 0 deletions assets/src/scss/frontend/learning-area/pages/_quiz-intro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,24 @@
td {
&:first-of-type {
width: 31.71%;
svg {
flex-shrink: 0;
}
}

&:last-of-type {
width: 68.28%;
}

@include tutor-breakpoint-down(sm) {
&:first-of-type {
width: 50%;
}

&:last-of-type {
width: 50%;
}
}
}
}

Expand Down
6 changes: 3 additions & 3 deletions components/FileUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ class="tutor-file-uploader-wrapper"
</template>

<template x-if="variant === 'file-uploader' && selectedFiles.length > 0">
<div class="tutor-flex tutor-flex-column tutor-gap-3">
<div class="tutor-grid tutor-grid-cols-2 tutor-sm-grid-col-1 tutor-gap-5">
<div class="tutor-flex tutor-flex-column tutor-gap-5">
<div class="tutor-grid tutor-grid-cols-2 tutor-sm-grid-cols-1 tutor-gap-5">
<template x-for="(file, index) in selectedFiles" :key="index">
<div class="tutor-attachment-card-wrapper">
<?php
Expand All @@ -614,7 +614,7 @@ class="tutor-file-uploader-wrapper"
</template>
</div>
<div class="tutor-mt-1">
<button type="button" class="tutor-btn tutor-btn-primary-soft tutor-btn-sm" @click="openFileDialog()">
<button type="button" class="tutor-btn tutor-btn-primary-soft tutor-sm-w-full" @click="openFileDialog()">
<?php $this->multiple ? esc_html_e( 'Upload More Files', 'tutor' ) : esc_html_e( 'Upload Again', 'tutor' ); ?>
</button>
</div>
Expand Down
Loading