Skip to content

Commit

Permalink
refactor: toast allow fullscreen fixes ant-design#434
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 committed May 7, 2019
1 parent 9cdbf4e commit 6941503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/toast/style/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Platform, StyleSheet, TextStyle, ViewStyle } from 'react-native';
import { StyleSheet, TextStyle, ViewStyle } from 'react-native';
import { Theme } from '../../style';

export interface ToastStyle {
Expand All @@ -16,7 +16,7 @@ export default (theme: Theme) =>
StyleSheet.create<ToastStyle>({
container: {
position: 'absolute',
top: Platform.OS === 'ios' ? 64 : 54,
top: 0,
left: 0,
bottom: 0,
right: 0,
Expand Down

0 comments on commit 6941503

Please sign in to comment.