diff --git a/Sources/TokamakStaticHTML/Shapes/Path.swift b/Sources/TokamakStaticHTML/Shapes/Path.swift
index 1938f5d94..e93148b24 100644
--- a/Sources/TokamakStaticHTML/Shapes/Path.swift
+++ b/Sources/TokamakStaticHTML/Shapes/Path.swift
@@ -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;
"""
}