diff --git a/app/views/admin/communication/unsplash/_selector.html.erb b/app/views/admin/communication/unsplash/_selector.html.erb index 49b0683d51d79935ffb7f2545fb08df01d19d249..be9d16d9c035f2ca8b41260d1a1005a86d6d3de9 100644 --- a/app/views/admin/communication/unsplash/_selector.html.erb +++ b/app/views/admin/communication/unsplash/_selector.html.erb @@ -46,7 +46,7 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json) v-model="query" class="form-control"> </div> - <div class="col-lg-3"> + <div class="col-lg-3 d-grid"> <button type="button" class="btn btn-primary" v-on:click="research" @@ -154,7 +154,13 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json) } }.bind(this); - xmlHttp.open( "GET", this.parameters.url + '?query=' + this.query + '&per_page=' + this.parameters.per_page + '&page=' + this.page + '&lang=' + this.parameters.lang, false ); + xmlHttp.open( "GET", + this.parameters.url + + '?query=' + this.query + + '&per_page=' + this.parameters.per_page + + '&page=' + this.page + + '&lang=' + this.parameters.lang, + false ); xmlHttp.send( null ); }, select(image) {