浏览代码

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

AlexiCauvin 6 年前
父节点
当前提交
add8da6f36
共有 3 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      frontend/src/container/Account.jsx
  2. 1 1
      frontend/src/container/Dashboard.jsx
  3. 1 0
      frontend/src/css/AccountPage.styl

+ 1 - 1
frontend/src/container/Account.jsx 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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