add missing length unit to width and height attributes
This commit is contained in:
parent
4e8b84e4a1
commit
2240551e4d
|
@ -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;
|
||||
"""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue