Skip to content

Commit

Permalink
fix column overflow when client names are big
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Jul 16, 2024
1 parent db3bfcd commit bf076fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions static/js/vis-network-aux.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ $_network.defaultOptions = {
},
},
nodes: {
shapeProperties: {
interpolation: false // 'true' for intensive zooming
},
shape: "dot",
size: 30,
font: {
Expand Down
2 changes: 1 addition & 1 deletion templates/clients/clients_cl.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 class="accordion-header">
{{ range $i, $client := .Clients }}
<tr>
<td>{{ $client.Index }}</td>
<td style="max-width: 270px;">
<td>
<img src="/identicon?key={{ $client.PeerID }}"
alt="{{ $client.PeerID }}"
class="client-node-icon"/>
Expand Down
2 changes: 1 addition & 1 deletion templates/clients/clients_el.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 class="accordion-header">
{{ range $i, $client := .Clients }}
<tr>
<td>{{ $client.Index }}</td>
<td style="max-width: 270px;">
<td>
<img src="/identicon?key={{ $client.PeerID }}"
alt="{{ $client.PeerID }}"
class="client-node-icon"/>
Expand Down

0 comments on commit bf076fc

Please sign in to comment.