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 (
|
return (
|
||||||
<View style={{
|
<View style={{
|
||||||
aspectRatio: this.props.width / this.props.height,
|
aspectRatio: this.props.width / this.props.height,
|
||||||
|
borderRadius: 4,
|
||||||
...this.props.style
|
...this.props.style
|
||||||
}}>
|
}}>
|
||||||
{this.getGrid()}
|
{this.getGrid()}
|
||||||
|
|
|
@ -30,6 +30,7 @@ class Preview extends React.PureComponent<Props> {
|
||||||
style={{
|
style={{
|
||||||
marginRight: 5,
|
marginRight: 5,
|
||||||
marginLeft: 5,
|
marginLeft: 5,
|
||||||
|
marginBottom: 5,
|
||||||
}}
|
}}
|
||||||
key={index.toString()}
|
key={index.toString()}
|
||||||
/>;
|
/>;
|
||||||
|
|
Loading…
Reference in a new issue