@dongmingzhixiu/vuexir-compiler 0.4.9 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/transform/css.js +3 -1
- package/package.json +1 -1
package/dist/transform/css.js
CHANGED
|
@@ -51,7 +51,9 @@ function mapDeclInner(prop, value, warnings) {
|
|
|
51
51
|
switch (prop) {
|
|
52
52
|
case 'display':
|
|
53
53
|
// display:flex → 容器语义;display:block/none 不映射(flex 为默认容器)
|
|
54
|
-
|
|
54
|
+
// R135:CSS 的 display:flex 默认 main axis 是 row(此前默认 column →
|
|
55
|
+
// 横向工具栏/星期行被渲染成纵向堆叠,日历标题栏就是这么坏掉的)
|
|
56
|
+
return v === 'flex' ? [['flexDirection', 'row']] : null;
|
|
55
57
|
case 'flex-direction':
|
|
56
58
|
return [['flexDirection', v]];
|
|
57
59
|
case 'flex': {
|