Browse Source

https://github.com/tracim/tracim/issues/794, remove width from dashboard and account page and replace it in their stylus file

AlexiCauvin 6 years ago
parent
commit
add8da6f36

+ 1 - 1
frontend/src/container/Account.jsx View File

@@ -101,7 +101,7 @@ class Account extends React.Component {
101 101
     })()
102 102
 
103 103
     return (
104
-      <div className='Account' style={{width: '100%'}}>
104
+      <div className='account'>
105 105
         <PageWrapper customClass='account'>
106 106
           <PageTitle
107 107
             parentClass={'account'}

+ 1 - 1
frontend/src/container/Dashboard.jsx View File

@@ -201,7 +201,7 @@ class Dashboard extends React.Component {
201 201
     const { props, state } = this
202 202
 
203 203
     return (
204
-      <div className='Dashboard' style={{width: '100%'}}>
204
+      <div className='dashboard'>
205 205
         <PageWrapper customeClass='dashboard'>
206 206
           <PageTitle
207 207
             parentClass='dashboard__header'

+ 1 - 0
frontend/src/css/AccountPage.styl View File

@@ -43,6 +43,7 @@ settingText()
43 43
 
44 44
 .account
45 45
   margin 45px 0 0 0
46
+  width 100%
46 47
   .btn-outline-primary
47 48
     color thirdColor
48 49
     border-color thirdColor