Updating styles for error page

This commit is contained in:
Asaad Mahmood
2016-09-14 06:25:41 +05:00
parent 2865ab395a
commit e38dd49d95

View File

@@ -207,13 +207,13 @@ var SettingsPage = React.createClass({
const settingsPage = { const settingsPage = {
navbar: { navbar: {
backgroundColor: '#fff', backgroundColor: '#fff'
}, },
close: { close: {
position: 'absolute', position: 'absolute',
right: '0', right: '0',
top: '20px', top: '10px',
fontSize: '1.3em', fontSize: '35px',
fontWeight: 'normal', fontWeight: 'normal',
color: '#bbb', color: '#bbb',
cursor: 'pointer' cursor: 'pointer'
@@ -222,8 +222,7 @@ var SettingsPage = React.createClass({
textAlign: 'center', textAlign: 'center',
fontSize: '24px', fontSize: '24px',
margin: '0', margin: '0',
padding: '1em 0', padding: '1em 0'
position: 'relative'
}, },
sectionHeading: { sectionHeading: {
fontSize: '20px', fontSize: '20px',
@@ -252,12 +251,12 @@ var SettingsPage = React.createClass({
return ( return (
<div> <div>
<Navbar className="navbar-fixed-top" style={ settingsPage.navbar }> <Navbar className="navbar-fixed-top" style={ settingsPage.navbar }>
<h1 style={ settingsPage.heading }> <div style={ { 'position': 'relative' } }>
Settings <h1 style={ settingsPage.heading }>Settings</h1>
<div style={ settingsPage.close } onClick={ this.handleCancel }> <div style={ settingsPage.close } onClick={ this.handleCancel }>
<span>×</span> <span>×</span>
</div> </div>
</h1> </div>
</Navbar> </Navbar>
<Grid className="settingsPage" style={ { 'padding': '100px 15px' } }> <Grid className="settingsPage" style={ { 'padding': '100px 15px' } }>
<Row> <Row>