Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

fix(alert): fix alert-text width for IE11 #4557

Merged

Conversation

hippee-lee
Copy link
Contributor

This change fixes #4548. IE11 doesn't calculate the correct height of .alert-text.

Signed-off-by: Matt Hippely mhippely@vmware.com

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • If applicable, have a visual design approval

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • clarity.design website / infrastructure changes
  • Other... Please describe:

What is the current behavior?

IE11 has an issue calculating the height of long multiline content for global alerts when flex-basis is set to auto.

Issue Number: #4548

.alert-text elements set a percentage for other device size screens. This PR updates the default to be 100%

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This change fixes vmware-archive#4548. IE11 doesn't calculate the correct height of .alert-text.

Signed-off-by: Matt Hippely <mhippely@vmware.com>
Copy link
Contributor

@bdryanovski bdryanovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gnomeontherun gnomeontherun added v1 Issues specifically for v1 v2 Issues specifically for v2 v3 Issues for v3 labels May 12, 2020
@hippee-lee hippee-lee merged commit eaefd24 into vmware-archive:master May 12, 2020
@hippee-lee hippee-lee deleted the issue/4548-app-alert-ie11 branch May 12, 2020 16:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: alert type: bug v1 Issues specifically for v1 v2 Issues specifically for v2 v3 Issues for v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long alerts on IE11 are cropped
3 participants