- ๐ฌ๐ทGreece Pavel Ruban
pavel ruban โ made their first commit to this issueโs fork.
- Merge request !136Issue #3180644: Fix height attr double check plain. โ (Open) created by Pavel Ruban
- ๐ฌ๐ทGreece Pavel Ruban
Restore Op's initial logic to exclude height if its auto + keep check plain bug fix
- ๐ฎ๐ณIndia Tirupati_Singh
Hi, I was able to replicate the issue and found that when any height value, let's say 42px has been passed in the "block--system-branding-block.html.twig" template height variable then on the logo the height attribute is rendering as
height="'42px'"
instead ofheight="42px"
due to which the image height is not getting height as per its attribute value.I've applied the provided MR !136 as a patch and it applied cleanly without any errors. After applying the patch, the height attribute issue has been fixed and it is rendering as
height="42px"
which is the correct. Additionally, when no height value or height auto has been passed into height variable then the render logo "img" tag does not have height attribute. I'm attaching the screenshots of before and after patch applied issue fixes. As the MR is resolving the issue, hence moving the issue status to RTBC.Thanks!