Center out container for tune

This commit is contained in:
Piotr Rogowski 2021-04-08 15:18:57 +02:00
parent 99b15c1e9d
commit 7b5992d180
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
1 changed files with 4 additions and 2 deletions

View File

@ -30,12 +30,12 @@ import { Tune as TuneType } from '../types/tune';
import { findOnPage } from '../utils/config/find'; import { findOnPage } from '../utils/config/find';
import { import {
parseXy, parseXy,
parseZ, parseZ,
} from '../utils/tune/table'; } from '../utils/tune/table';
import Map from './Dialog/Map'; import Map from './Dialog/Map';
import { import {
evaluateExpression, evaluateExpression,
isExpression, isExpression,
} from '../utils/tune/expression'; } from '../utils/tune/expression';
import useStorage from '../hooks/useStorage'; import useStorage from '../hooks/useStorage';
@ -78,6 +78,8 @@ const mapStateToProps = (state: AppState) => ({
const containerStyle = { const containerStyle = {
padding: 20, padding: 20,
maxWidth: 1400,
margin: '0 auto',
}; };
const skeleton = (<div style={containerStyle}> const skeleton = (<div style={containerStyle}>