Verified Commit f16f29f5 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix minor layout issues on studydocuments page

parent bd481ab2
......@@ -3,7 +3,7 @@
.filtered-list {
min-height: 100%;
display: grid;
grid-template-columns: 17em 1fr auto;
grid-template-columns: 19.25em 1fr auto;
@media @tablet {
grid-template-columns: 17em 1fr;
......
......@@ -6,7 +6,8 @@
width: 100%;
font-size: 1em;
h2 {
h3 {
font-size: 1.2em;
margin: 0;
display: inline-block;
......
......@@ -208,9 +208,10 @@ export default class StudydocList extends FilteredListPage {
},
},
],
onchange: values => {
onchange: async values => {
this.dataStore.filterValues = values;
if (controller.setFilterValues(values)) {
const changed = await controller.setFilterValues(values);
if (changed) {
StudydocQuickFilter.clear();
return true;
}
......@@ -286,7 +287,7 @@ export default class StudydocList extends FilteredListPage {
m('div', [
m('div.title', [
m(
'h2',
'h3',
title
? [title, studydocument.title && m('span', studydocument.title)]
: studydocTitle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment