From 4fb5564ee87176e72802241462eedf4f94dba39a Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Wed, 4 Sep 2024 08:26:58 +0000 Subject: fix alignment and reduction of breadcrumbs in content bar, fixes #4503 Closes #4503 Merge request studip/studip!3292 --- resources/assets/stylesheets/scss/contentbar.scss | 3 +-- templates/contentbar/contentbar.php | 6 +++--- templates/toc/_toc-item-breadcrumb.php | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/resources/assets/stylesheets/scss/contentbar.scss b/resources/assets/stylesheets/scss/contentbar.scss index a7df7f7..01e586f 100644 --- a/resources/assets/stylesheets/scss/contentbar.scss +++ b/resources/assets/stylesheets/scss/contentbar.scss @@ -16,10 +16,9 @@ .contentbar-wrapper-left { display: flex; - flex: auto; + max-width: calc(100% - 130px); .contentbar-breadcrumb { - display: flex; font-size: 1.25em; line-height: 1.5em; margin-right: 1em; diff --git a/templates/contentbar/contentbar.php b/templates/contentbar/contentbar.php index f9b42ed..a4632ca 100644 --- a/templates/contentbar/contentbar.php +++ b/templates/contentbar/contentbar.php @@ -13,11 +13,11 @@