diff --git a/app/views/admin/communication/blocks/edit.html.erb b/app/views/admin/communication/blocks/edit.html.erb index 3d1b1749955d956935cae97b94ca357e24592c2c..369de66431643ce73a1599f3b922ec87eb536b64 100644 --- a/app/views/admin/communication/blocks/edit.html.erb +++ b/app/views/admin/communication/blocks/edit.html.erb @@ -5,7 +5,11 @@ %> <div id="app" v-cloak> <%= simple_form_for [:admin, @block] do |f| %> - <%= f.input :title %> + <div class="row"> + <div class="col-xxl-4 col-md-6"> + <%= f.input :title %> + </div> + </div> <%= render "admin/communication/blocks/templates/#{@block.template}/edit", f: f %> <textarea name="communication_block[data]" rows="20" cols="200" class="d-none"> {{ JSON.stringify(data) }} diff --git a/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb b/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb index 5973b51599804fca6a3c258c26dead9dda14db78..36dce3af304a17e4291f063e4c8c29b759ecb730 100644 --- a/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb +++ b/app/views/admin/communication/blocks/templates/gallery/_edit.html.erb @@ -4,7 +4,7 @@ </a> <draggable :list="data.elements" handle=".imageHandle" class="row"> - <div v-for="(image, imageIndex) in data.elements" class="col-xxl-2 col-xl-3 col-6"> + <div v-for="(image, imageIndex) in data.elements" class="col-xxl-2 col-xl-3 col-md-4 col-6"> <div class="card"> <div class="card-header border-bottom"> <a class="btn ps-0 pt-0 imageHandle">