We have what I believe is a regression bug in IE11 with Umami's recipe and article cards being vertically oversized. From memory, this issue might be caused by IE11 calculating the height of the flexbox item based on the non scaled size of the contained images.
Screenshot of Umami 8.6.1 from BrowserStack Windows 10, IE11, middle part of front page:

We'll need to fix and test all card displays on Home, Articles, Recipes, and Article and Recipe content types.
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | Win10-IE11-cards-home.png | 2.75 MB | kjay |
| #20 | 2999723_after_fix_ie11_recipes-20.png | 934.89 KB | pawandubey |
| #20 | 2999723_after_fix_ie11_homepage-20.png | 990.42 KB | pawandubey |
| #18 | umami-card-layout-ie11-2999723-18-recipes.png | 614.95 KB | shaal |
| #18 | umami-card-layout-ie11-2999723-18-homepage.png | 916.37 KB | shaal |
Comments
Comment #2
MaddieC commentedComment #3
hiway commentedHey, guys! I added a small patch to fix that issue. Please, review.
Comment #4
hiway commentedComment #5
Mike Berry commentedI have tested this patch in Chrome and Firefox. It worked fine.
Comment #6
hiway commented@Mike Berry, sorry but the case here is the problem in IE11, so it should be tested with IE11.
Comment #7
pawandubey commented@hiway
I reviewed the patch and its working fine in IE11 and also tested for the stability purpose in Firefox and Chrome browser and found no issues.
I have tested on the below pages:
Suggestion related to code:
This fix only require
overflow: hidden;and not getting any impact related towidth:100%;on the<div class="node__content">tag, as by default the block element takes 100% width and also there is no overridden display style applied to it. So, my suggestion is to remove thewidth:100%;along with the comment.I have just re-rolled the patch with the above suggestion and no impact in appearance except the code. Please review and test the same and let me know your feedback.
Comment #8
andrewmacpherson commented@pawandubey - thanks for the updated patch. Can you provide an interdiff to show what's changed between patches #3 and #7?
Comment #9
pawandubey commented@andrewmacpherson
Please find the attached interdiff file as requested.
Comment #10
hiway commented@pawandubey Thank you for your work.
About this note:
As I remember, when I've been working on this issue, I was need to add
width:100%, because in the IE11 some images may have wrong width and height. May be I'm wrong, but that was the case why I leavedwidth:100%there. Thank you.Comment #11
pawandubey commented@hiway
Can you please review this patch at your end? As this is a minor change.
Comment #12
shaalI have tested the patch using Chrome, Firefox, and IE11 the following pages:
(In multiple resolutions, from mobile width to full desktop width)
Comment #14
hiway commented@pawandubey @shaal I reviewed this once again on my end. And created new patch which includes only
overflow: hidden;, that's seems enough for now. I created new patch file against latest 8.7.x branch state as @pawandubey's patch failed tests.Comment #15
hiway commentedComment #16
pawandubey commented@hiway
Thanks for re-rolling this patch in latest version. We can again move this to RTBC.
Comment #17
lauriiiCould we use
flex-shrink: 0;instead?Comment #18
shaalYes!
flex-shrink: 0;works perfect!(Screenshots of IE11 through Browserstack)
Homepage

Recipes page

Comment #19
volkswagenchickComment #20
pawandubey commentedPatch#18 reviewed, tested and its working fine as per the attached screenshot.
Moving this to RTBC
Comment #21
kjay commented+1 for RTBC. Tested on Windows 10 IE11 and Firefox/Safari/Chrome with same results as @pawandubey
Comment #24
lauriiiConfirmed manually with Chrome and IE 11 that the patch fixes the bug. Committed 7a3b237 and pushed to 8.7.x. Also cherry-picked to 8.6.x. Thanks!