mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-02-02 06:15:11 +01:00
add margin to percentage container
This commit is contained in:
parent
ac85bbc6d5
commit
742783e4db
@ -61,6 +61,9 @@ const styles = {
|
||||
sliceActions: {
|
||||
flexShrink: 0,
|
||||
},
|
||||
sliceInfo: {
|
||||
margin: '10px 0'
|
||||
},
|
||||
sliceButtons: {
|
||||
justifyContent: 'flex-end',
|
||||
display: 'flex'
|
||||
@ -303,9 +306,11 @@ class Interface extends React.Component {
|
||||
onChange={this.onChangeSettings}
|
||||
/>
|
||||
<div className={classes.sliceActions}>
|
||||
<div className={classes.sliceInfo}>
|
||||
{error && <p className={classes.error}>{error}</p>}
|
||||
{isSlicing && <p>{progress.action}</p>}
|
||||
{isSlicing && <LinearProgress mode="determinate" value={progress.percentage * 100.0} />}
|
||||
</div>
|
||||
<div className={classes.sliceButtons}>
|
||||
{onCancel && <RaisedButton
|
||||
label="Cancel"
|
||||
|
Loading…
x
Reference in New Issue
Block a user