mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-16 14:15:07 +03:00
Css fix RIVM-27
This commit is contained in:
parent
0db43b22a1
commit
0ff6a63df5
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
.overflow-ellipsis {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.column {
|
||||
|
@ -82,5 +83,6 @@ td.fi {
|
|||
}
|
||||
|
||||
.peer-connected-fl {
|
||||
width: 3em;
|
||||
width: 2em;
|
||||
background-position: 0;
|
||||
}
|
||||
|
|
|
@ -287,6 +287,7 @@ ui.updateConnectedPeersHandler = (cont) => {
|
|||
.sort((a, b) => a.isMulticast > b.isMulticast);
|
||||
sorted.forEach(peer => {
|
||||
let row = $("peers").appendChild(document.createElement('div'));
|
||||
row.className = "overflow-ellipsis"
|
||||
let flag = row.appendChild(document.createElement("span"));
|
||||
if(peer.isMulticast)
|
||||
flag.className = "fa fa-thin fa-share-nodes peer-connected-fl";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue