forked from vergnet/application-amicale
Small game UI improvements
This commit is contained in:
parent
1780ab886e
commit
de41a57930
2 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ class GridComponent extends React.Component<Props> {
|
|||
return (
|
||||
<View style={{
|
||||
aspectRatio: this.props.width / this.props.height,
|
||||
borderRadius: 4,
|
||||
...this.props.style
|
||||
}}>
|
||||
{this.getGrid()}
|
||||
|
|
|
@ -30,6 +30,7 @@ class Preview extends React.PureComponent<Props> {
|
|||
style={{
|
||||
marginRight: 5,
|
||||
marginLeft: 5,
|
||||
marginBottom: 5,
|
||||
}}
|
||||
key={index.toString()}
|
||||
/>;
|
||||
|
|
Loading…
Reference in a new issue