From 476ab1275f15b4ca4c5206e7c41edc29a4cc2c27 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Thu, 16 Dec 2021 10:39:09 +0100 Subject: [PATCH] MDL-73369 theme_boost: contentbank toolbar narrow view --- contentbank/templates/bankcontent/toolbar.mustache | 2 +- theme/boost/scss/moodle/contentbank.scss | 3 +++ theme/boost/style/moodle.css | 3 +++ theme/classic/style/moodle.css | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/contentbank/templates/bankcontent/toolbar.mustache b/contentbank/templates/bankcontent/toolbar.mustache index d1fbb7db100..b377674e368 100644 --- a/contentbank/templates/bankcontent/toolbar.mustache +++ b/contentbank/templates/bankcontent/toolbar.mustache @@ -59,7 +59,7 @@ {{>core_contentbank/bankcontent/toolbar_dropdown}} {{/dropdown}} {{^dropdown}} - + {{#pix}} {{{ icon }}} {{/pix}} {{{ name }}} {{/dropdown}} diff --git a/theme/boost/scss/moodle/contentbank.scss b/theme/boost/scss/moodle/contentbank.scss index 626f921f383..56f5b9ae798 100644 --- a/theme/boost/scss/moodle/contentbank.scss +++ b/theme/boost/scss/moodle/contentbank.scss @@ -165,3 +165,6 @@ max-height: 190px; overflow-y: auto; } +.cb-navigation-container .singleselect .custom-select { + width: 100%; +} diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 5bd4030ac9e..e61a45c7e39 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -13620,6 +13620,9 @@ table.calendartable caption { max-height: 190px; overflow-y: auto; } +.cb-navigation-container .singleselect .custom-select { + width: 100%; } + /* course.less */ /* COURSE CONTENT */ .section_add_menus { diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index fc39a1d259a..bf119e55573 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -13620,6 +13620,9 @@ table.calendartable caption { max-height: 190px; overflow-y: auto; } +.cb-navigation-container .singleselect .custom-select { + width: 100%; } + /* course.less */ /* COURSE CONTENT */ .section_add_menus {