Skip to content
Snippets Groups Projects
Commit 7b5bb733 authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix error title that doesn't wrap correctly

parent 54941fa7
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ export default class LoadingAndErrorWrapper extends Component {
<div className={this.props.className} style={this.props.style}>
{ error ?
<div className={contentClassName}>
<h2 className="text-normal text-grey-2">{this.getErrorMessage()}</h2>
<h2 className="text-normal text-grey-2 ie-wrap-content-fix">{this.getErrorMessage()}</h2>
</div>
: loading ?
<div className={contentClassName}>
......
......@@ -156,3 +156,10 @@
@media screen and (--breakpoint-min-md) {
.md-no-flex { flex: 0 !important; }
}
/* Contents of elements inside flex items might not be wrapped correctly on IE11,
set max-width manually to enforce wrapping
*/
.ie-wrap-content-fix {
max-width: 100%;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment