浏览代码

fix display of left sidebar for layout without right sidebar + align left all text in tables

Come 8 年前
父节点
当前提交
a4d16e39f1

+ 13 - 9
tracim/tracim/public/assets/css/dashboard.css 查看文件

475
 .workspace__wrapper {
475
 .workspace__wrapper {
476
   padding: 0 15px;
476
   padding: 0 15px;
477
 }
477
 }
478
-.workspace__list table {
479
-  text-align: center;
480
-}
481
 
478
 
482
 .workspace__detail__wrapper {
479
 .workspace__detail__wrapper {
483
   padding: 0 15px;
480
   padding: 0 15px;
484
 }
481
 }
482
+
483
+.content__detail {
484
+  padding: 0 15px;
485
+}
486
+
487
+/*.content__detail table {
488
+  text-align: center;
489
+}
485
 .workspace__detail__wrapper table {
490
 .workspace__detail__wrapper table {
486
   text-align: center;
491
   text-align: center;
487
 }
492
 }
488
-
489
 .workspace__detail__user table {
493
 .workspace__detail__user table {
490
   text-align: center;
494
   text-align: center;
491
 }
495
 }
492
-
493
-.content__detail {
494
-  padding: 0 15px;
495
-}
496
-.content__detail table {
496
+.workspace__list table {
497
   text-align: center;
497
   text-align: center;
498
+}*/
499
+table th {
500
+  text-align: left;
498
 }
501
 }
502
+
499
 .anchored-title {
503
 .anchored-title {
500
   padding-left: 10px;
504
   padding-left: 10px;
501
 }
505
 }

+ 4 - 6
tracim/tracim/templates/master_authenticated_left_treeview.mak 查看文件

9
 
9
 
10
 <%def name="SIDEBAR_RIGHT_CONTENT()">
10
 <%def name="SIDEBAR_RIGHT_CONTENT()">
11
     ## This is the default right sidebar implementation
11
     ## This is the default right sidebar implementation
12
-    <div class="sidebar">
13
-        <div class="btn-group btn-group-vertical">
14
-        </div>
15
-        <p></p>
16
-    </div> <!-- # End of side bar right -->
12
+    <div class="btn-group btn-group-vertical">
13
+    </div>
14
+    <p></p>
17
 </%def>
15
 </%def>
18
 <%def name="REQUIRED_DIALOGS()"></%def>
16
 <%def name="REQUIRED_DIALOGS()"></%def>
19
 <%def name="FOOTER_CONTENT_LIKE_SCRIPTS_AND_CSS()"></%def>
17
 <%def name="FOOTER_CONTENT_LIKE_SCRIPTS_AND_CSS()"></%def>
20
 
18
 
21
 <%def name="content_wrapper()">
19
 <%def name="content_wrapper()">
22
     ## SIDEBAR LEFT
20
     ## SIDEBAR LEFT
23
-    <div id="sidebar-left">
21
+    <div id="sidebar-left" class="sidebar">
24
         <div class="btn-group" style="position: absolute; right: 2px; top: 4px; ">
22
         <div class="btn-group" style="position: absolute; right: 2px; top: 4px; ">
25
             <button id="toggle-left-sidebar-width" type="button" class="btn btn-link"><i class="fa fa-angle-double-right"></i></button>
23
             <button id="toggle-left-sidebar-width" type="button" class="btn btn-link"><i class="fa fa-angle-double-right"></i></button>
26
         </div>
24
         </div>