make outgoing connections scroll better & not be textarea

This commit is contained in:
Kevin Froman 2019-10-09 22:32:19 -05:00
parent 47e81a4bb5
commit a704eaaf60
3 changed files with 5 additions and 2 deletions

View File

@ -188,7 +188,7 @@
<i class="fas fa-link"></i>
Outgoing Connections:
<div class="control">
<pre id='connectedNodes' class="textarea" rows="5" readonly>Unable to get nodes</pre>
<pre id='connectedNodes'>Unable to get nodes</pre>
</div>
<br>
<h6>Blocks</h6>

View File

@ -12,4 +12,8 @@
.motdCard{
margin-top: 1em;
}
#connectedNodes{
overflow-y: auto;
}

View File

@ -19,7 +19,6 @@
uptimeDisplay = document.getElementById('uptime')
connectedDisplay = document.getElementById('connectedNodes')
connectedDisplay.style.maxHeight = '300px'
connectedDisplay.style.overflowY = 'scroll'
storedBlockDisplay = document.getElementById('storedBlocks')
queuedBlockDisplay = document.getElementById('blockQueue')
lastIncoming = document.getElementById('lastIncoming')