Skip to content

Commit

Permalink
Merge branch 'release-30.20.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 16, 2024
2 parents c04cdbd + 305efc4 commit 4cae14b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion views/css/item-creator.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/css/item-creator.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/js/loader/taoQtiItem.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/js/loader/taoQtiItem.min.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions views/js/qtiCreator/editor/gridEditor/resizable.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ define([
$el.find('[class^="col-"], [class*=" col-"]').each(function () {
let $col = $(this);

// Skip if the element is inside a PCI.
// In this case, this is most probably a custom style rather than a TAO controlled grid.
if ($col.closest('.qti-customInteraction').length) {
return true;
}

//@todo this should be more generic
//see draggable etc for more references
if ($col.parent().hasClass('fixed-grid-row')) {
Expand Down
13 changes: 12 additions & 1 deletion views/scss/item-creator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ img.dragging.ui-draggable-dragging {
border-left: 1px solid $itemCreatorMiniTlbBorderColor;
}
}

}

.qti-interaction {
Expand Down Expand Up @@ -1446,6 +1446,17 @@ img.dragging.ui-draggable-dragging {
direction: rtl;
}
}
body, #mediaManager {
// Enforces the style for modal elements.
// This is necessary to avoid conflicts with PCI styles.
& > .modal {
z-index: 105002;
height: auto;
}
& > .modal-bg {
z-index: 100001;
}
}
#mediaManager {
.file-preview {
.previewer {
Expand Down

0 comments on commit 4cae14b

Please sign in to comment.