WebUI: Improve pieces bar drawing algorithm

PR #17336.
This commit is contained in:
Jesse Smick
2022-08-14 22:05:35 -06:00
committed by GitHub
parent aa6b29fe7e
commit ba511e07b4
6 changed files with 291 additions and 49 deletions

View File

@@ -508,19 +508,16 @@ td.generalLabel {
padding: 2px;
}
#progress {
border: 1px solid #999;
padding: 0;
.piecesbarWrapper {
position: relative;
width: 100%;
}
#progress canvas {
.piecesbarCanvas {
height: 100%;
image-rendering: pixelated;
left: 0;
inset: 0;
position: absolute;
top: 0;
width: 100%;
}