diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 3291c7c793..15cc175818 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -6429,3 +6429,23 @@ input.form-control[type="color"] { padding: 2px; } +/* Extra small devices (phones, less than 768px) */ +/* No media query since this is the default in Bootstrap */ + +/* Small devices (tablets, 768px and up) */ +@media (min-width: 768px) { + +} + +/* Medium devices (desktops, 992px and up) */ +@media (min-width: 992px) { + div.navbar-collapse { + padding-left: 0; + } +} + +/* Large devices (large desktops, 1200px and up) */ +@media (min-width: 1200px) { + +} + diff --git a/main/inc/lib/banner.lib.php b/main/inc/lib/banner.lib.php index 1e19a8ccf7..863ebb96f5 100755 --- a/main/inc/lib/banner.lib.php +++ b/main/inc/lib/banner.lib.php @@ -702,9 +702,8 @@ function return_breadcrumb($interbreadcrumb, $language_file, $nameTools) } // View as student/teacher link - $view = null; if (!empty($view_as_student_link)) { - $view .= Display::tag('div', $view_as_student_link, array('id' => 'view_as_link','class' => 'pull-right')); + $html .= Display::tag('div', $view_as_student_link, array('id' => 'view_as_link','class' => 'pull-right')); } if (!empty($navigation_right)) { @@ -715,7 +714,6 @@ function return_breadcrumb($interbreadcrumb, $language_file, $nameTools) } if (!empty($lis)) { - $html .= $view; $html .= Display::tag('ul', $lis, array('class'=>'breadcrumb')); } diff --git a/main/template/default/layout/layout_1_col.tpl b/main/template/default/layout/layout_1_col.tpl index 3ea3ec7f6c..887b6132e7 100755 --- a/main/template/default/layout/layout_1_col.tpl +++ b/main/template/default/layout/layout_1_col.tpl @@ -1,6 +1,7 @@ {% extends template ~ "/layout/page.tpl" %} {% block body %} +