fix(toolbox): Constrain toolbox width on large mobile device

This commit is contained in:
Vlad Piersec 2021-03-15 14:12:50 +02:00 committed by Saúl Ibarra Corretgé
parent 096ee3cb53
commit d214079148
1 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,7 @@ const styles = {
toolbar: {
alignItems: 'center',
backgroundColor: ColorPalette.darkBackground,
borderRadius: 3,
flexDirection: 'row',
flexGrow: 0,
justifyContent: 'space-between',
@ -77,7 +78,11 @@ const styles = {
*/
toolbox: {
flexDirection: 'column',
flexGrow: 0
flexGrow: 0,
width: '100%',
maxWidth: 500,
marginLeft: 'auto',
marginRight: 'auto'
}
};