diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 65faacf54e5..600743b5a4d 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -4130,7 +4130,6 @@ ul.holder li.bit-box{ color: #FFF; padding: 12px; text-transform: uppercase; - margin-bottom: 10px; border-radius: 5px; } .thematic .score-progress h3{ @@ -4764,6 +4763,15 @@ div#chat-remote-video video { padding: 5px; border-radius: 5px; } +.toolbar-edit{ + padding: 5px; + display: inline-block; + width: 100%; +} +.bar-progress{ + display: inline-block; + width: 100%; +} .grid-courses .items{ /* position: relative; */ vertical-align: top; diff --git a/main/inc/introductionSection.inc.php b/main/inc/introductionSection.inc.php index 8b29a0daa6b..2515c651965 100755 --- a/main/inc/introductionSection.inc.php +++ b/main/inc/introductionSection.inc.php @@ -320,7 +320,8 @@ if ($intro_dispCommand) { if (empty($intro_content)) { // Displays "Add intro" commands - $toolbar = '
'; + $toolbar .= '
'; + $toolbar .= '
'; if (!empty($courseId)) { $textIntro = ''; $textIntro .= ' '; @@ -330,10 +331,11 @@ $toolbar .= '' . get_lang('AddIntro') . ''; $toolbar .= $editIconButton; } - $toolbar .= '
'; + $toolbar .= '
'; } else { // Displays "edit intro && delete intro" commands + $toolbar .= '
'; $toolbar .= '
'; if (!empty($courseId)) { $toolbar .= @@ -354,7 +356,7 @@ if(!confirm('".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES, $charset)). "')) return false;\">"; } - $toolbar .= "
"; + $toolbar .= "
"; // Fix for chrome XSS filter for videos in iframes - BT#7930 $browser = api_get_navigator(); if (strpos($introduction_section, '
-
-
-

{{ 'Progress' | get_lang }}: {{ score_progress }} %

+
+
+
+

{{ 'Progress' | get_lang }}: {{ score_progress }} %

+