/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
extensions/interactions/DragAndDropSortInput/directives/drag-and-drop-sort-input-response.component.html
47 строк
1 KB
Meeth
Fix #24883 Removing the oppia lightweight root . (#25416)
08 апр 2026, 10:14
Не верифицирован
08 апр 2026, 10:14
c81178a
Код
Авторство
О чём код?
<style> .drag-and-drop-sort-response-content img { max-height: 100px; object-fit: contain; } .drag-and-drop-response-item { background-color: #add8e6; border: 1px solid #000; margin: 10px 0 0 0; max-height: 100px; min-height: 70px; overflow: hidden; padding-left: 5px; width: 100px; } .drag-and-drop-response-subitem { background-color: #add8e6; border: 1px solid #000; margin: -10px 0 0 0; max-height: 100px; min-height: 70px; overflow: hidden; padding-left: 5px; position: relative; width: 100px; } ul { list-style-type: none; } </style> <ul *ngIf="isAnswerLengthGreaterThanZero" class="drag-and-drop-sort-response-content"> <li *ngFor="let responses of responseList; let i = index"> <!-- The ngModel directive is allowed only on elements that have a built-in value attribute (such as an input element). To allow it to be used with the ul element below (which lacks a value attribute), the ngDefaultControl directive is used. --> <ul [(ngModel)]="responseList[i]" ngDefaultControl> <li *ngFor="let response of responses; index as idx"> <div [ngClass]="chooseItemType(idx)"> <oppia-rte-output-display [rteString]="response"></oppia-rte-output-display> </div> </li> </ul> </li> </ul>