Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 263e8e4

Browse files
committed
fix(prefixer): add more webkit prefixes
1 parent b1416a2 commit 263e8e4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/lib/utils/auto-prefixer.ts

+13
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export function applyCssPrefixes(target) {
3636
value = value || "row";
3737
target['flex-direction'] = value;
3838
target['-ms-flex-direction'] = value;
39+
target['-webkit-flex-direction'] = value;
3940
target['-webkit-box-orient'] = toBoxOrient(value);
4041
target['-webkit-box-direction'] = toBoxDirection(value);
4142
break;
@@ -44,6 +45,18 @@ export function applyCssPrefixes(target) {
4445
target['-ms-flex-wrap'] = value;
4546
break;
4647

48+
case 'flex-grow':
49+
target['-webkit-flex-grow'] = value;
50+
break;
51+
52+
case 'flex-shrink':
53+
target['-webkit-flex-shrink'] = value;
54+
break;
55+
56+
case 'flex-basis':
57+
target['-webkit-flex-basis'] = value;
58+
break;
59+
4760
case 'order':
4861
if (isNaN(value)) {
4962
value = "0";

0 commit comments

Comments
 (0)