Skip to content

Commit

Permalink
Fix error toaster word breaking for URLs or paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Ángel committed Jan 24, 2019
1 parent d3aa56f commit 11b8084
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions public/less/common.less
Expand Up @@ -699,4 +699,20 @@ md-sidenav {

.min-height-300 {
min-height: 300px;
}

/*
* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
* Handling long URLs on error toasts.
*/
.euiGlobalToastList > .euiToast > .euiToastHeader > .euiToastHeader__title {
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}

0 comments on commit 11b8084

Please sign in to comment.