mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 11:10:44 +02:00
Update spacing for block odds in UI
Increased margin-left for the `probSpan` element in the `updateUI` function from 10px to 17px for better spacing. Removed the inline margin-left style from the `block_odds_3hr` span in `dashboard.html`, promoting a more consistent style management through JavaScript.
This commit is contained in:
parent
7267244e94
commit
eab3e89a11
@ -1364,7 +1364,7 @@ function updateUI() {
|
||||
const probSpan = document.createElement("span");
|
||||
probSpan.id = "block_odds_3hr";
|
||||
probSpan.className = "metric-value yellow";
|
||||
probSpan.style.marginLeft = "10px";
|
||||
probSpan.style.marginLeft = "17px";
|
||||
probSpan.style.fontSize = "0.75em"; // Slightly larger font size
|
||||
probSpan.style.fontWeight = "Normal"; // Normal font
|
||||
probSpan.textContent = blockProbability;
|
||||
|
@ -159,8 +159,6 @@
|
||||
{% endif %}
|
||||
</span>
|
||||
<span id="indicator_hashrate_3hr"></span>
|
||||
<span id="block_odds_3hr" class="metric-value yellow" style="margin-left: 10px; font-size: 0.75em; font-weight: normal;"></span>
|
||||
<span class="metric-label" style="font-size: 0.65em; opacity: 0.8; margin-left: 5px; color: white;">[₿ Odds]</span>
|
||||
</p>
|
||||
<p>
|
||||
<strong>10min Avg Hashrate:</strong>
|
||||
|
Loading…
Reference in New Issue
Block a user