Skip to content

Commit

Permalink
fix(fscomponents): Fix invalid css that was causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-sankbeil authored and bweissbart committed Aug 2, 2018
1 parent 598db34 commit 3a450a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/fscomponents/src/styles/ReviewIndicator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
ImageStyle,
Platform,
RegisteredStyle,
StyleSheet,
TextStyle,
Expand All @@ -19,7 +20,12 @@ export const style = StyleSheet.create({
color: '#333132',
textAlign: 'center',
fontFamily: 'Arial',
includeFontPadding: false
// includeFontPadding is not a valid property for web/ios
...Platform.select({
android: {
includeFontPadding: false
}
})
},
emptyStar: {
color: '#e0e1e2'
Expand Down

0 comments on commit 3a450a5

Please sign in to comment.