Adjust z-index value in element style calculation

Reduced the z-index from 40 to 30 in the return statement of a method to modify the stacking order of the element. This change may affect how the element overlaps with others on the page.
This commit is contained in:
2026-11-23 14:55:33 +01:00
parent 7e16f9612b
commit 262798f256

View File

@@ -230,7 +230,7 @@
var width = widthPercent.ToString("F4", CultureInfo.InvariantCulture); var width = widthPercent.ToString("F4", CultureInfo.InvariantCulture);
var height = heightPercent.ToString("F4", CultureInfo.InvariantCulture); var height = heightPercent.ToString("F4", CultureInfo.InvariantCulture);
return $"position:absolute;left:{left}%;top:{top}%;width:{width}%;height:{height}%;z-index:40;"; return $"position:absolute;left:{left}%;top:{top}%;width:{width}%;height:{height}%;z-index:30;";
} }
private string GetPageCanvasStyle(double pageWidthPt, double pageHeightPt) private string GetPageCanvasStyle(double pageWidthPt, double pageHeightPt)