Skip to content

Commit

Permalink
fix(agenda): properly align header names
Browse files Browse the repository at this point in the history
  • Loading branch information
Tautvilas committed May 26, 2017
1 parent da12eaa commit 4267c3b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
3 changes: 3 additions & 0 deletions example/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import {Navigation} from 'react-native-navigation';
import {registerScreens} from './screens';
registerScreens();

// eslint-disable-next-line no-console
console.ignoredYellowBox = ['Remote debugger'];

/*
import {LocaleConfig} from 'react-native-calendars';
Expand Down
6 changes: 3 additions & 3 deletions src/agenda/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export default function styleConstructor(theme = {}) {
right: 0,
top: 0,
flexDirection: 'row',
justifyContent: 'space-between',
paddingLeft: 24,
paddingRight: 24,
justifyContent: 'space-around',
marginLeft: 15,
marginRight: 15,
paddingTop: 15,
paddingBottom: 7,
backgroundColor: appStyle.foregroundColor
Expand Down
2 changes: 1 addition & 1 deletion src/calendar/header/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function(theme={}) {
marginBottom: 7,
width: 32,
textAlign: 'center',
fontSize: 12,
fontSize: 13,
color: appStyle.textSectionTitleColor
}
});
Expand Down
10 changes: 0 additions & 10 deletions src/calendar/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ export default function getStyle(theme={}) {
marginBottom: 7,
flexDirection: 'row',
justifyContent: 'space-around'
},
dayHeader: {
marginTop: 3,
marginBottom: 8,
width: 32,
textAlign: 'center',
paddingTop: 0,
paddingBottom: 10,
fontSize: 12,
color: appStyle.textSectionTitleColor
}
});
}
Expand Down

0 comments on commit 4267c3b

Please sign in to comment.