diff --git a/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb b/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb index bb5b0bb78d5561afc57883b019d5f951d16b0c02..5d3951c2f2ffa95cfb029c03173d7298ed47f93e 100644 --- a/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb +++ b/app/views/admin/communication/blocks/templates/timeline/_edit.html.erb @@ -3,27 +3,29 @@ <draggable :list="data.elements" handle=".dragHandle" class="list-group"> <div v-for="(element, index) in data.elements" class="list-group-item"> - <div class="flex-fill"> - <div class="row mb-n3"> - <div class="col-lg-1"> - <a class="btn ps-0 pt-0 dragHandle"> - <i class="fa fa-bars handle"></i> - </a> - </div> - <div class="col-lg-4"> - <%= block_component_edit :title, template: @element %> - </div> - <div class="col-lg-6"> - <%= block_component_edit :text, template: @element %> - </div> - <div class="col-lg-1"> - <a class="btn btn-sm btn-danger ms-3" - v-on:click="data.elements.splice(data.elements.indexOf(element), 1)" - title="<%= t '.remove_event' %>"> - <i class="fas fa-times"></i> - </a> + <div class="d-flex"> + <div> + <a class="btn ps-0 pt-0 dragHandle"> + <i class="fa fa-bars handle"></i> + </a> + </div> + <div class="flex-fill"> + <div class="row mb-n3"> + <div class="col-lg-5"> + <%= block_component_edit :title, template: @element %> + </div> + <div class="col-lg-7"> + <%= block_component_edit :text, template: @element %> + </div> </div> </div> + <div> + <a class="btn btn-sm btn-danger ms-3" + v-on:click="data.elements.splice(data.elements.indexOf(element), 1)" + title="<%= t '.remove_event' %>"> + <i class="fas fa-times"></i> + </a> + </div> </div> </div> </draggable> \ No newline at end of file