MDL-67970 output: use fieldset in core/chooser instead of label

This commit is contained in:
Shamim Rezaie
2020-03-17 18:20:43 +11:00
parent 1cc8177b73
commit 50889d5519
4 changed files with 14 additions and 10 deletions
+6 -8
View File
@@ -57,14 +57,12 @@
</div>
<div class="alloptions">
{{#sections}}
<div class="moduletypetitle">
<label for="item_{{id}}">
<span class="typename">{{label}}</span>
</label>
</div>
{{#items}}
{{>core/chooser_item}}
{{/items}}
<fieldset>
<legend class="moduletypetitle">{{label}}</legend>
{{#items}}
{{>core/chooser_item}}
{{/items}}
</fieldset>
{{/sections}}
</div>
</div>
+2
View File
@@ -1397,6 +1397,8 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
text-transform: uppercase;
padding-top: 1.2em;
padding-bottom: 0.4em;
margin-bottom: 0.5rem;
font-size: 100%;
}
.choosercontainer #chooseform .option .typename,
+3 -1
View File
@@ -9881,7 +9881,9 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
.choosercontainer #chooseform .moduletypetitle {
text-transform: uppercase;
padding-top: 1.2em;
padding-bottom: 0.4em; }
padding-bottom: 0.4em;
margin-bottom: 0.5rem;
font-size: 100%; }
.choosercontainer #chooseform .option .typename,
.choosercontainer #chooseform .nonoption .typename {
+3 -1
View File
@@ -10118,7 +10118,9 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
.choosercontainer #chooseform .moduletypetitle {
text-transform: uppercase;
padding-top: 1.2em;
padding-bottom: 0.4em; }
padding-bottom: 0.4em;
margin-bottom: 0.5rem;
font-size: 100%; }
.choosercontainer #chooseform .option .typename,
.choosercontainer #chooseform .nonoption .typename {