add missing length unit to width and height attributes

This commit is contained in:
hpaelike 2022-07-16 14:07:39 +02:00
parent 4e8b84e4a1
commit 2240551e4d
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ extension Path: _HTMLPrimitive {
height: 100%;
""" :
"""
width: \(max(0, size.width));
height: \(max(0, size.height));
width: \(max(0, size.width))px;
height: \(max(0, size.height))px;
"""
}