Merge branch 'MDL-63113-master' of git://github.com/bmbrands/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 26 Sep 2018 08:57:20 +0000 (10:57 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 26 Sep 2018 08:57:20 +0000 (10:57 +0200)
theme/boost/scss/moodle/core.scss
theme/boost/style/moodle.css
theme/boost/templates/core/initials_bar.mustache

index 02806c6..fc81253 100644 (file)
@@ -1088,17 +1088,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
     text-align: center;
 }
 
-
-.initialbarlabel {
-    display: inline-block;
-    width: 6em;
-    float: left;
-    overflow: hidden;
-    text-overflow: ellipsis;
-    white-space: nowrap;
-}
-
-
 /* Moodle Dialogue Settings (moodle-core-dialogue)  */
 .moodle-dialogue-base .moodle-dialogue-lightbox {
     background-color: $gray;
index 9901ec1..70e2474 100644 (file)
@@ -9660,14 +9660,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
   white-space: nowrap;
   text-align: center; }
 
-.initialbarlabel {
-  display: inline-block;
-  width: 6em;
-  float: left;
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap; }
-
 /* Moodle Dialogue Settings (moodle-core-dialogue)  */
 .moodle-dialogue-base .moodle-dialogue-lightbox {
   background-color: #495057; }
index eca2445..7f02e93 100644 (file)
          ]
     }
 }}
-<div class="initialbar {{class}} d-flex">
-    <span class="initialbarlabel">{{title}}</span>
-    <ul class="pagination pagination-sm">
-    {{#current}}
-        <li class="initialbarall page-item">
-            <a class="page-link" href="{{url}}">{{all}}</a>
-        </li>
-    {{/current}}
-    {{^current}}
-        <li class="initialbarall page-item active">
-            <a class="page-link">{{all}}</a>
-        </li>
-    {{/current}}
-    </ul>
-    <div class="initialbargroups d-flex">
+<div class="initialbar {{class}} d-flex flex-wrap justify-content-center justify-content-md-start">
+    <span class="initialbarlabel mr-2">{{title}}</span>
+
+    <div class="initialbargroups d-flex flex-wrap justify-content-center justify-content-md-start">
+        <ul class="pagination pagination-sm">
+        {{#current}}
+            <li class="initialbarall page-item">
+                <a class="page-link" href="{{url}}">{{all}}</a>
+            </li>
+        {{/current}}
+        {{^current}}
+            <li class="initialbarall page-item active">
+                <a class="page-link">{{all}}</a>
+            </li>
+        {{/current}}
+        </ul>
         {{#group}}
             <ul class="pagination pagination-sm">
-
                 {{#letter}}
                     {{#selected}}
                         <li class="page-item active {{name}}"><span class="page-link">{{name}}</span></li>