Browse Source

Should fix margin-bottom breadcrumb issue see #4813

Julio Montoya 12 years ago
parent
commit
ec63c16a0c
2 changed files with 9 additions and 5 deletions
  1. 8 1
      main/css/base.css
  2. 1 4
      main/template/default/layout/main_header.tpl

+ 8 - 1
main/css/base.css

@@ -52,6 +52,14 @@ legend {
     font-weight: bold;
 }
 
+header {
+    margin-bottom: 11px;
+}
+
+.breadcrumb {
+    margin-bottom: 0px;
+}
+
 /* To fix the increase/decrease buttons */
 label, input, button, select, textarea, p {
     font-size: inherit;
@@ -85,7 +93,6 @@ label, input, button, select, textarea, p {
     z-index: 600;
 }
 
-
 .badge-group .badge:not(:first-child) {
     margin-left: -13px;
     padding-left: 15px;

+ 1 - 4
main/template/default/layout/main_header.tpl

@@ -26,7 +26,6 @@
         {% include "default/layout/topbar.tpl" %}
 
         <div id="main" class="container">
-
             <header>
                 <div class="row">
                     <div id="header_left" class="span4">
@@ -85,9 +84,7 @@
                 {{ breadcrumb }}
             </header>
 
-
-
-            <div class="row">
+            <div id="main_content" class="row">
             {# course navigation links/shortcuts need to be activated by the admin #}
             {% include "default/layout/course_navigation.tpl" %}
 {% endif %}