Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(design): fix syntax error in calculation within less file (#2506)

白熱9c2947fa93e4
diff --git a/packages/design/src/components/date-picker/index.module.less b/packages/design/src/components/date-picker/index.module.less
index 8bded7c0cc..cd9834f17f 100644
--- a/packages/design/src/components/date-picker/index.module.less
+++ b/packages/design/src/components/date-picker/index.module.less
@@ -547,7 +547,7 @@
&-placement-topLeft,
&-placement-topRight {
.@{prefix-cls}-range-arrow {
- bottom: @arrow-size / 2 + 1px;
+ bottom: (@arrow-size / 2 + 1px);
transform: rotate(135deg);
}
}
diff --git a/packages/design/src/components/date-range-picker/index.module.less b/packages/design/src/components/date-range-picker/index.module.less
index c798643092..4506763737 100644
--- a/packages/design/src/components/date-range-picker/index.module.less
+++ b/packages/design/src/components/date-range-picker/index.module.less
@@ -547,7 +547,7 @@
&-placement-topLeft,
&-placement-topRight {
.@{prefix-cls}-range-arrow {
- bottom: @arrow-size / 2 + 1px;
+ bottom: (@arrow-size / 2 + 1px);
transform: rotate(135deg);
}
}