mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-10 06:51:49 +02:00
hub(ui): style cleanup and mobile improvements
This commit is contained in:
@@ -99,9 +99,9 @@ export function useYAxisWidth() {
|
||||
clearTimeout(timeout)
|
||||
timeout = setTimeout(() => {
|
||||
document.body.appendChild(div)
|
||||
const width = div.offsetWidth + 24
|
||||
const width = div.offsetWidth + 20
|
||||
if (width > yAxisWidth) {
|
||||
setYAxisWidth(div.offsetWidth + 24)
|
||||
setYAxisWidth(width)
|
||||
}
|
||||
document.body.removeChild(div)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user