From e19d9a57fdabd9bd3a5b84ca543c7d2e119d2a1d Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 6 May 2022 17:53:16 +0200 Subject: [PATCH] layout --- .../admin/communication/unsplash/_selector.html.erb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/unsplash/_selector.html.erb b/app/views/admin/communication/unsplash/_selector.html.erb index 2bcec6fb8..5253fbfe8 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="parameters.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="search" @@ -149,7 +149,13 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json) } }.bind(this); - xmlHttp.open( "GET", this.parameters.url + '?query=' + this.parameters.query + '&per_page=' + this.parameters.per_page + '&page=' + this.page + '&lang=' + this.parameters.lang, false ); + xmlHttp.open( "GET", + this.parameters.url + + '?query=' + this.parameters.query + + '&per_page=' + this.parameters.per_page + + '&page=' + this.page + + '&lang=' + this.parameters.lang, + false ); xmlHttp.send( null ); }, select(image) { -- GitLab