Fix flexbox css not applied. Fix addCss duplicating some selectors.

This commit is contained in:
Panayot Cankov
2017-02-23 16:41:08 +02:00
parent ac90b9db2b
commit dc97ed24f9
3 changed files with 15 additions and 30 deletions

View File

@@ -392,16 +392,3 @@ const flexProperty = new ShorthandProperty<Style, string>({
}
})
flexProperty.register(Style);
Style.prototype.flexDirection = flexDirectionProperty.defaultValue;
Style.prototype.flexWrap = flexWrapProperty.defaultValue;
Style.prototype.justifyContent = justifyContentProperty.defaultValue;
Style.prototype.alignItems = alignItemsProperty.defaultValue;
Style.prototype.alignContent = alignContentProperty.defaultValue;
Style.prototype.order = orderProperty.defaultValue;
Style.prototype.flexGrow = flexGrowProperty.defaultValue;
Style.prototype.flexShrink = flexShrinkProperty.defaultValue;
Style.prototype.flexWrapBefore = flexWrapBeforeProperty.defaultValue;
Style.prototype.alignSelf = alignSelfProperty.defaultValue;
// No flex-basis in our implementation.