diff --git a/hypha/static_src/src/javascript/apply/submission-filters.js b/hypha/static_src/src/javascript/apply/submission-filters.js index 4be901cfb1f7317400a6af2c7174e8c31380a6f6..d751eb514a6048f76bd40d28614a9d8a4e3da65e 100644 --- a/hypha/static_src/src/javascript/apply/submission-filters.js +++ b/hypha/static_src/src/javascript/apply/submission-filters.js @@ -33,7 +33,7 @@ // find the matching dropdown let match = $(`.select2-selection[aria-owns="${selectId}"]`); - if (match.length !== 0){ + if (match.length !== 0) { // if the dropdown contains a clear class, the filters are active if ($(match[0]).find('span.select2-selection__clear').length !== 0) { match[0].classList.add(filterActiveClass); diff --git a/hypha/static_src/src/sass/apply/components/_form.scss b/hypha/static_src/src/sass/apply/components/_form.scss index 5b87a18e6349997bb86d06eadc9e29222fc3186f..5b8bae7922bf4fcdc02b2e17e2ff31a8c4f72018 100644 --- a/hypha/static_src/src/sass/apply/components/_form.scss +++ b/hypha/static_src/src/sass/apply/components/_form.scss @@ -337,20 +337,14 @@ &__comments { display: grid; - grid-template-areas: 'message' - 'visibility' - 'actions'; - grid-template-rows: auto - auto - auto; + grid-template-areas: 'message' 'visibility' 'actions'; + grid-template-rows: auto auto auto; grid-template-columns: 1fr; @include media-query(tablet-landscape) { - grid-template-areas: 'message visibility' - 'actions actions'; - grid-template-rows: auto - auto; + grid-template-areas: 'message visibility' 'actions actions'; + grid-template-rows: auto auto; grid-template-columns: 2fr 1fr; column-gap: 2rem; @@ -367,7 +361,7 @@ grid-area: visibility; } - #comment_form-submit { + .button { grid-area: actions; max-width: 210px; text-align: center;