Fix: z-index для modal чтобы убрать белый фон
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -65,9 +65,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Modal предпросмотра вопроса -->
|
<!-- Modal предпросмотра вопроса -->
|
||||||
<div class="modal fade" id="questionPreviewModal" tabindex="-1" aria-hidden="true">
|
<div class="modal fade" id="questionPreviewModal" tabindex="-1" aria-hidden="true" style="z-index: 9999;">
|
||||||
<div class="modal-dialog modal-lg modal-dialog-scrollable">
|
<div class="modal-dialog modal-lg modal-dialog-scrollable" style="z-index: 10000;">
|
||||||
<div class="modal-content">
|
<div class="modal-content" style="z-index: 10001;">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title">Предпросмотр вопроса</h5>
|
<h5 class="modal-title">Предпросмотр вопроса</h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
@@ -101,6 +101,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
|
|
||||||
const answersContainer = document.getElementById('modalAnswersContainer');
|
const answersContainer = document.getElementById('modalAnswersContainer');
|
||||||
answersContainer.innerHTML = '';
|
answersContainer.innerHTML = '';
|
||||||
|
answersContainer.style.position = 'relative';
|
||||||
|
answersContainer.style.zIndex = '1';
|
||||||
|
|
||||||
// Отображаем ответы в зависимости от типа
|
// Отображаем ответы в зависимости от типа
|
||||||
if (questionType === 'multiple_choice') {
|
if (questionType === 'multiple_choice') {
|
||||||
|
|||||||
Reference in New Issue
Block a user