.scrollable-container.scrollable-container--bordered.scrollable-container--image-listing
  - files.each do |file|
    %li.content-grid__item.content-grid__item--media
      = label_tag "image_link_#{file.id}", class: 'content-grid__label' do
        = radio_button_tag "image_link", file.full_path, false, id: "image_link_#{file.id}", class: 'content-grid__item__radio', data: { 'dough-insertmanager-value-trigger' => true, 'dough-insertmanager-insert-type' => 'image' }
        %span.content-grid__media-wrapper
          = image_tag file.file.url, class: 'content-grid__media'
        %span.content-grid__outline

.scrollable-container.scrollable-container--bordered.scrollable-container--image-listing
  - files.each do |file|
    %li.content-grid__item.content-grid__item--media
      = label_tag "image_link_#{file.id}", class: 'content-grid__label' do
        = radio_button_tag "image_link", file.full_path, false, id: "image_link_#{file.id}", class: 'content-grid__item__radio', data: { 'dough-insertmanager-value-trigger' => true, 'dough-insertmanager-insert-type' => 'image' }
        %span.content-grid__media-wrapper
          = image_tag nil, class: 'content-grid__media', style: "background-image: url(#{file.file.url})"
        %span.content-grid__outline

Fix image aspect ratios on content grid
Fix image aspect ratios on content grid
