mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
fix(notifications): cleanup notifications code [EE-4274] (#7790)
* fix(notifications): cleanup notifications code [EE-4274] * break long words
This commit is contained in:
parent
c6ae8467c0
commit
724f1f63b7
7 changed files with 114 additions and 43 deletions
|
@ -1,3 +1,7 @@
|
|||
.root {
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
|
@ -23,6 +27,16 @@
|
|||
margin-left: auto;
|
||||
}
|
||||
|
||||
.notifications {
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.notification {
|
||||
border-bottom: 1px solid var(--ui-gray-3);
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -31,12 +45,23 @@
|
|||
width: 5rem;
|
||||
}
|
||||
.notificationBody {
|
||||
flex-basis: 30rem;
|
||||
flex-basis: 80rem;
|
||||
}
|
||||
.deleteButton {
|
||||
flex-basis: 5rem;
|
||||
}
|
||||
|
||||
.notification-details {
|
||||
word-break: break-all;
|
||||
white-space: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 5;
|
||||
line-clamp: 5;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.container > div {
|
||||
padding: 0px 10px;
|
||||
margin: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue