Layout changes

This commit is contained in:
2019-10-22 13:28:50 -05:00
parent 0f2bd33779
commit 0571a69814
15 changed files with 29 additions and 28 deletions

View File

@@ -7,5 +7,5 @@
.ErrorDetailsContent {
max-height: 60vh;
overflow-y: auto;
margin-bottom: 8px;
margin-bottom: var(--default_spacing);
}

View File

@@ -19,7 +19,7 @@ const mapDispatchToProps = dispatch => {
export default connect(mapStateToProps, mapDispatchToProps)(props => {
return (
<Box dxDark dxStyle={{padding: '8px'}}>
<Box dxDark dxStyle={{padding: 'var(--default_spacing)'}}>
<h1 className={'ErrorDetailsHeading'}>Application Error</h1>
<div className={'ErrorDetailsContent'}>
<p>{props.ErrorMessage}</p>

View File

@@ -7,5 +7,5 @@
max-height: 60vh;
min-width: 80vw;
overflow-y: auto;
margin-bottom: 8px;
margin-bottom: var(--default_spacing);
}

View File

@@ -19,7 +19,7 @@ const mapDispatchToProps = dispatch => {
export default connect(mapStateToProps, mapDispatchToProps)(props => {
return (
<Box dxDark dxStyle={{padding: '8px'}}>
<Box dxDark dxStyle={{padding: 'var(--default_spacing)'}}>
<h1 className={'InfoDetailsHeading'}>{props.InfoMessage.title}</h1>
<div className={'InfoDetailsContent'}>
<p style={{textAlign: 'left', whiteSpace: 'pre-line'}}>{props.InfoMessage.message}</p>

View File

@@ -7,5 +7,5 @@
.RebootContent {
max-height: 60vh;
overflow-y: auto;
margin-bottom: 8px;
margin-bottom: var(--default_spacing);
}

View File

@@ -13,7 +13,7 @@ const mapDispatchToProps = dispatch => {
export default connect(null, mapDispatchToProps)(props => {
return (
<Box dxDark dxStyle={{padding: '8px'}}>
<Box dxDark dxStyle={{padding: 'var(--default_spacing)'}}>
<h1 className={'RebootHeading'}>Reboot System</h1>
<div className={'RebootContent'}>
<p>Repertory requires a system reboot to continue.</p>

View File

@@ -19,7 +19,7 @@ const mapDispatchToProps = dispatch => {
export default connect(mapStateToProps, mapDispatchToProps)(props => {
return (
<Box dxStyle={{minWidth: '180px', height: 'auto', padding: '8px'}}>
<Box dxStyle={{minWidth: '180px', height: 'auto', padding: 'var(--default_spacing)'}}>
<div style={{width: '100%', height: 'auto'}}>
<h1 style={{width: '100%', textAlign: 'center'}}>{props.Title}</h1>
</div>