Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
origin-web-common
Commits
c0e92404
Commit
c0e92404
authored
Oct 19, 2017
by
Sam Padgett
Committed by
GitHub
Oct 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #232 from rhamilto/issue-2284
Fix bug with very long expanded toast notification text
parents
1e7fc627
00f5df94
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
+23
-4
_notifications.less
dist/less/_notifications.less
+9
-2
origin-web-common.css
dist/origin-web-common.css
+5
-0
_notifications.less
src/styles/_notifications.less
+9
-2
No files found.
dist/less/_notifications.less
View file @
c0e92404
...
...
@@ -2,8 +2,15 @@
color: @gray-light;
}
.toast-notification-details .truncated-content {
white-space: pre-line;
.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;
}
}
.toast-notification-message {
...
...
dist/origin-web-common.css
View file @
c0e92404
...
...
@@ -423,6 +423,11 @@ div.hopscotch-bubble .hopscotch-nav-button.prev {
.toast-action-divider
{
color
:
#9c9c9c
;
}
.toast-notification-details
{
margin-right
:
-15px
;
max-height
:
300px
;
overflow-y
:
auto
;
}
.toast-notification-details
.truncated-content
{
white-space
:
pre-line
;
}
...
...
src/styles/_notifications.less
View file @
c0e92404
...
...
@@ -2,8 +2,15 @@
color: @gray-light;
}
.toast-notification-details .truncated-content {
white-space: pre-line;
.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;
}
}
.toast-notification-message {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment