Commit 00f5df94 by Robb Hamilton

Fix bug with very long expanded toast notification text

Supports https://github.com/openshift/origin-web-console/issues/2284
parent 41e0cc28
...@@ -2,8 +2,15 @@ ...@@ -2,8 +2,15 @@
color: @gray-light; color: @gray-light;
} }
.toast-notification-details .truncated-content { .toast-notification-details {
// so that expanded text isn't unbounded
// fixes https://github.com/openshift/origin-web-console/issues/2284
margin-right: -15px;
max-height: 300px;
overflow-y: auto;
.truncated-content {
white-space: pre-line; white-space: pre-line;
}
} }
.toast-notification-message { .toast-notification-message {
......
...@@ -423,6 +423,11 @@ div.hopscotch-bubble .hopscotch-nav-button.prev { ...@@ -423,6 +423,11 @@ div.hopscotch-bubble .hopscotch-nav-button.prev {
.toast-action-divider { .toast-action-divider {
color: #9c9c9c; color: #9c9c9c;
} }
.toast-notification-details {
margin-right: -15px;
max-height: 300px;
overflow-y: auto;
}
.toast-notification-details .truncated-content { .toast-notification-details .truncated-content {
white-space: pre-line; white-space: pre-line;
} }
......
...@@ -2,8 +2,15 @@ ...@@ -2,8 +2,15 @@
color: @gray-light; color: @gray-light;
} }
.toast-notification-details .truncated-content { .toast-notification-details {
// so that expanded text isn't unbounded
// fixes https://github.com/openshift/origin-web-console/issues/2284
margin-right: -15px;
max-height: 300px;
overflow-y: auto;
.truncated-content {
white-space: pre-line; white-space: pre-line;
}
} }
.toast-notification-message { .toast-notification-message {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment