app/javascript/spotlight/admin/blocks/resources_block.js in blacklight-spotlight-3.6.0.beta10 vs app/javascript/spotlight/admin/blocks/resources_block.js in blacklight-spotlight-4.0.0

- old
+ new

@@ -48,20 +48,20 @@ <div class="card-header item-grid"> <div class="d-flex"> <div class="checkbox"> <input name="item[${index}][display]" type="hidden" value="false" /> <input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" /> - <label class="sr-only" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label> + <label class="sr-only visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label> </div> <div class="pic"> <img class="img-thumbnail" src="${(data.thumbnail_image_url || ((data.iiif_tilesource || "").replace("/info.json", "/full/!100,100/0/default.jpg")))}" /> </div> <div class="main"> <div class="title card-title">${data.title}</div> <div>${(data.slug || data.id)}</div> </div> - <div class="remove float-right"> + <div class="remove float-right float-end"> <a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a> </div> </div> <div data-panel-image-pagination="true"></div> </div> @@ -109,10 +109,10 @@ }, items_selector: function() { return [ '<div class="row">', '<div class="col-md-8">', - '<div class="form-group">', + '<div class="form-group mb-3">', '<div class="panels dd nestable-item-grid" data-behavior="nestable" data-max-depth="1"><ol class="dd-list"></ol></div>', this.autocomplete_control(), '</div>', '</div>', '<div class="col-md-4">',