develop #4

Merged
Arnike merged 10 commits from develop into main 2026-02-12 20:32:19 +03:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 76eae52d2a - Show all commits

View File

@@ -341,3 +341,9 @@ label.swap:focus-within:not(.theme-toggle) {
display: none !important; display: none !important;
} }
} }
/* Multi-line tooltip (formula): preserve newlines from data-tip */
.tooltip-formula[data-tip]::before {
white-space: pre-line;
text-align: left;
}

View File

@@ -13,7 +13,7 @@
</div> </div>
<div id="currentCpuStdBlock" class="flex items-center gap-1 text-xs"> <div id="currentCpuStdBlock" class="flex items-center gap-1 text-xs">
<div class="w-3 h-0.5 bg-error/60"></div> <div class="w-3 h-0.5 bg-error/60"></div>
<span class="tooltip tooltip-top text-error/60 cursor-help" data-tip="σ = √(Σ(xᵢμ)²/n)" aria-label="Формула расчёта ±0.5σ"> <span class="tooltip tooltip-top tooltip-formula text-error/60 cursor-help" data-tip="Показывает разброс утилизации CPU относительно среднего.&#10;&#10;μ — средняя утилизация CPU по хостам.&#10;σ — стандартное отклонение:&#10;σ = √(Σ(xᵢμ)²/n)." aria-label="Формула расчёта ±0.5σ">
<span class="text-error/60">±0.5σ: <span id="currentCpuStd">0</span>%</span> <span class="text-error/60">±0.5σ: <span id="currentCpuStd">0</span>%</span>
</span> </span>
</div> </div>