benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
338 stars 205 forks source link

Wrong image width in containers when nesting containers #1479

Open SventB opened 8 months ago

SventB commented 8 months ago

Bug Report

Prerequisites

Description

Image widths are wrong, when having nested container elements with images.

Steps to Reproduce

  1. Install EXT:container
  2. Create content element type "2 Columns 75%/25%"
  3. Create content element type "2 Columns 50%/50%" in column 1 of previously created container element
  4. Insert two content elements of type "Images Only", one in column 1, one in column 2 of previously created container element

Expected behavior

Width of images in element "2 Columns 50%/50%" are the same.

Actual behavior

Width of image in column 1 is too big, width of image in column 2 is too small.

Screenshots

Backend view

image

Frontend view

image

Image 1 has width of 445 pixels, that's too big. Image 2 has width of 135 pixels, that's too small.