This commit is contained in:
2024-12-01 12:50:50 +01:00
parent 1eef3d4306
commit 253078957b
5 changed files with 100 additions and 25 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ macro_rules! __css {
// Number
(
$_style:expr, $name:ident: $value:literal $(, $($other:tt)*)?
$_style:expr, $name:ident: $value:literal px $(, $($other:tt)*)?
) => {{
$_style.$name = Number::Px($value);
$crate::__css!($_style, $($($other)*)?);