Skip to content

Commit 16b5f18

Browse files
authored
Add support for dvh, svh, lvh. Close #412
1 parent cc791ad commit 16b5f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Value/Size.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Size extends PrimitiveValue
1717
*
1818
* @var array<int, string>
1919
*/
20-
const ABSOLUTE_SIZE_UNITS = ['px', 'cm', 'mm', 'mozmm', 'in', 'pt', 'pc', 'vh', 'vw', 'vmin', 'vmax', 'rem'];
20+
const ABSOLUTE_SIZE_UNITS = ['px', 'cm', 'mm', 'mozmm', 'in', 'pt', 'pc', 'vh', 'dvh', 'svh', 'lvh', 'vw', 'vmin', 'vmax', 'rem'];
2121

2222
/**
2323
* @var array<int, string>

0 commit comments

Comments
 (0)