瀏覽代碼

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

Come 7 年之前
父節點
當前提交
a4d16e39f1

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

@@ -475,27 +475,31 @@ span.info.readonly {
475 475
 .workspace__wrapper {
476 476
   padding: 0 15px;
477 477
 }
478
-.workspace__list table {
479
-  text-align: center;
480
-}
481 478
 
482 479
 .workspace__detail__wrapper {
483 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 490
 .workspace__detail__wrapper table {
486 491
   text-align: center;
487 492
 }
488
-
489 493
 .workspace__detail__user table {
490 494
   text-align: center;
491 495
 }
492
-
493
-.content__detail {
494
-  padding: 0 15px;
495
-}
496
-.content__detail table {
496
+.workspace__list table {
497 497
   text-align: center;
498
+}*/
499
+table th {
500
+  text-align: left;
498 501
 }
502
+
499 503
 .anchored-title {
500 504
   padding-left: 10px;
501 505
 }

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

@@ -9,18 +9,16 @@
9 9
 
10 10
 <%def name="SIDEBAR_RIGHT_CONTENT()">
11 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 15
 </%def>
18 16
 <%def name="REQUIRED_DIALOGS()"></%def>
19 17
 <%def name="FOOTER_CONTENT_LIKE_SCRIPTS_AND_CSS()"></%def>
20 18
 
21 19
 <%def name="content_wrapper()">
22 20
     ## SIDEBAR LEFT
23
-    <div id="sidebar-left">
21
+    <div id="sidebar-left" class="sidebar">
24 22
         <div class="btn-group" style="position: absolute; right: 2px; top: 4px; ">
25 23
             <button id="toggle-left-sidebar-width" type="button" class="btn btn-link"><i class="fa fa-angle-double-right"></i></button>
26 24
         </div>