From 34145ab920f128fe50164c4ddf98f33b310ea3bf Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 7 Apr 2015 14:51:36 -0400 Subject: [PATCH] Fixes #2021, resolves #2069. Fix image flex defaults in IE --- RELEASE-NOTES.md | 2 +- src/definitions/views/card.less | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 1fa894360..92d4f5d5c 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -81,7 +81,7 @@ **Bugs** - **All Modules** - Performance logging now delays 500ms instead of 100ms for console logging to ensure all logs are captured in one group - **All Modules/Transition** - Transitions no longer use `rotateZ(0deg)` to trigger GPU display of visible state. This causes issues with `transform` creating new stacking context that can disrupt `z-index`. -- **Card**- `flexbox` has been disabled in IE due to issues with [images in `flex-direction: column`](https://github.com/Modernizr/Modernizr/issues/1301) +- **Card** - IE11 now can correctly use `flexbox` cards - **Checkbox** - Fix `disabled checkbox` sometimes displaying hand cursor - **Checkbox** - Fixes nested `dropdown` inside `checkbox` causing issues - **Dropdown** - Fixes issue with headers disappearing inside of `ui dropdown` when nested in `ui menu` diff --git a/src/definitions/views/card.less b/src/definitions/views/card.less index 5260d9b34..a93c4fa87 100755 --- a/src/definitions/views/card.less +++ b/src/definitions/views/card.less @@ -93,13 +93,6 @@ margin-top: @consecutiveGroupDistance; } -/* Disable flex in IE */ -@media all and (-ms-high-contrast:none) { - .ui.cards > .card, - .ui.card { - display: block; - } -} /*-------------- Rounded Edges @@ -121,8 +114,9 @@ .ui.cards > .card > .image, .ui.card > .image { - display: block; position: relative; + display: block; + flex: 0 0 auto; padding: @imagePadding; background: @imageBackground; }