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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user