diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-26 21:35:18 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-26 21:35:18 +0200 |
| commit | 911290cb5e13482acf9701ec9da7a3b16fd17061 (patch) | |
| tree | c5b7bf0f478d16a8e3ce6f84b609f5d1e53caaf3 /src/pages | |
| parent | ee662378b41328c735283a9451820ac3e57d6472 (diff) | |
Improve layout of profile page
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/Profile.js | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/pages/Profile.js b/src/pages/Profile.js index 17b01495..8a418f80 100644 --- a/src/pages/Profile.js +++ b/src/pages/Profile.js @@ -10,12 +10,17 @@ const ProfileContainer = ({onDelete}) => ( <div className="full-height"> <AppNavbar inSimulation={false} fullWidth={false}/> <div className="container text-page-container full-height"> - <button className="btn btn-danger" onClick={onDelete}>Delete my account on OpenDC</button> - <p> - This does not delete your Google account, it simply disconnects it from the OpenDC app and deletes - any - simulation info that is associated with you (simulations you own, and any authorizations you may - have on other projects). + <button + className="btn btn-danger mb-2 ml-auto mr-auto" + style={{maxWidth: 300}} + onClick={onDelete} + > + Delete my account on OpenDC + </button> + <p className="text-muted text-center"> + This does not delete your Google account, but simply disconnects it from the OpenDC platform and + deletes any simulation info that is associated with you (simulations you own and any authorizations + you may have on other projects). </p> </div> <DeleteProfileModal/> |
