@@ -140,32 +140,26 @@ export class SakaiCourseList extends SakaiElement {
140
140
render ( ) {
141
141
142
142
return html `
143
- < div class ="d-flex justify-space-between ">
144
- < div class ="me-1 ">
145
- < select aria-label ="${ this . _i18n . course_filter_label } " @change =${ this . _siteFilterChanged } .value =${ this . _currentFilter } ?disabled=${ this . sites . length === 0 } >
146
- < option value ="pinned "> ${ this . _i18n . all_pinned_sites } </ option >
147
- < option value ="projects "> ${ this . _i18n . pinned_projects } </ option >
148
- < option value ="courses "> ${ this . _i18n . pinned_courses } </ option >
149
- < option value ="active "> ${ this . _i18n . pinned_activity } </ option >
150
- </ select >
151
- </ div >
152
- < div class ="mx-1 ">
153
- < select id ="course-list-term-filter "
154
- aria-label ="${ this . _i18n . term_filter_label } " @change =${ this . _termSelected } .value =${ this . _currentTermFilter } ?disabled=${ this . _availableTerms . length === 0 } >
155
- < option value ="none "> ${ this . _i18n . term_filter_none_option } </ option >
156
- ${ this . _availableTerms . map ( term => html `
157
- < option value ="${ term . id } "> ${ term . name } </ option >
158
- ` ) }
159
- </ select >
160
- </ div >
161
- < div class ="ms-1 ">
162
- < select aria-label ="${ this . _i18n . course_sort_label } " @change =${ this . _siteSortChanged } ?disabled =${ this . sites . length === 0 } >
163
- < option value ="title_a_to_z "> ${ this . _i18n . title_a_to_z } </ option >
164
- < option value ="title_z_to_a "> ${ this . _i18n . title_z_to_a } </ option >
165
- < option value ="code_a_to_z "> ${ this . _i18n . code_a_to_z } </ option >
166
- < option value ="code_z_to_a "> ${ this . _i18n . code_z_to_a } </ option >
167
- </ select >
168
- </ div >
143
+ < div >
144
+ < select class ="w-100 mb-1 " aria-label ="${ this . _i18n . course_filter_label } " @change =${ this . _siteFilterChanged } .value =${ this . _currentFilter } ?disabled=${ this . sites . length === 0 } >
145
+ < option value ="pinned "> ${ this . _i18n . all_pinned_sites } </ option >
146
+ < option value ="projects "> ${ this . _i18n . pinned_projects } </ option >
147
+ < option value ="courses "> ${ this . _i18n . pinned_courses } </ option >
148
+ < option value ="active "> ${ this . _i18n . pinned_activity } </ option >
149
+ </ select >
150
+ < select class ="w-100 mb-1 " id ="course-list-term-filter "
151
+ aria-label ="${ this . _i18n . term_filter_label } " @change =${ this . _termSelected } .value =${ this . _currentTermFilter } ?disabled=${ this . _availableTerms . length === 0 } >
152
+ < option value ="none "> ${ this . _i18n . term_filter_none_option } </ option >
153
+ ${ this . _availableTerms . map ( term => html `
154
+ < option value ="${ term . id } "> ${ term . name } </ option >
155
+ ` ) }
156
+ </ select >
157
+ < select class ="w-100 " aria-label ="${ this . _i18n . course_sort_label } " @change =${ this . _siteSortChanged } ?disabled =${ this . sites . length === 0 } >
158
+ < option value ="title_a_to_z "> ${ this . _i18n . title_a_to_z } </ option >
159
+ < option value ="title_z_to_a "> ${ this . _i18n . title_z_to_a } </ option >
160
+ < option value ="code_a_to_z "> ${ this . _i18n . code_a_to_z } </ option >
161
+ < option value ="code_z_to_a "> ${ this . _i18n . code_z_to_a } </ option >
162
+ </ select >
169
163
</ div >
170
164
< div >
171
165
${ this . sites . length === 0 ? html `
0 commit comments