MDL-61460 tool_componentlibrary: removed white space.

Also updated the version number as that was causing a problem.
This commit is contained in:
Adrian Greeve 2021-07-08 11:16:05 +08:00 committed by Eloy Lafuente (stronk7)
parent a5336912d9
commit f03a714607
5 changed files with 23 additions and 23 deletions

View File

@ -42,17 +42,17 @@ The output should be similar to this:
``` ```
Running "componentlibrary:docsBuild" task Running "componentlibrary:docsBuild" task
Building sites … Building sites …
| EN | EN
+------------------+-----+ +------------------+-----+
Pages | 113 Pages | 113
Paginator pages | 0 Paginator pages | 0
Non-page files | 18 Non-page files | 18
Static files | 18 Static files | 18
Processed images | 0 Processed images | 0
Aliases | 7 Aliases | 7
Sitemaps | 1 Sitemaps | 1
Cleaned | 0 Cleaned | 0
Total in 913 ms Total in 913 ms
Running "componentlibrary:cssBuild" task Running "componentlibrary:cssBuild" task

View File

@ -6,7 +6,7 @@ date: 2020-02-04T09:40:32+01:00
draft: false draft: false
weight: 3 weight: 3
--- ---
## ##
## Position an single item at the right ## Position an single item at the right
Use the ```.justify-content-end``` class to position on item in a ```.d-flex``` container to the right Use the ```.justify-content-end``` class to position on item in a ```.d-flex``` container to the right

View File

@ -52,7 +52,7 @@ tip: you can use heading classes to style a native heading tag differently.
<p class="font-italic">Italic text.</p> <p class="font-italic">Italic text.</p>
<p class="text-muted"> <p class="text-muted">
Muted text with a <a href="#" class="text-reset">reset link</a>. Muted text with a <a href="#" class="text-reset">reset link</a>.
</p> </p>
{{< /example >}} {{< /example >}}
@ -73,4 +73,4 @@ tip: you can use heading classes to style a native heading tag differently.
<!-- Inline level --> <!-- Inline level -->
<span class="d-inline-block text-truncate" style="max-width: 150px;"> <span class="d-inline-block text-truncate" style="max-width: 150px;">
Praeterea iter est quasdam res quas ex communi. Praeterea iter est quasdam res quas ex communi.
</span> </span>

View File

@ -5,16 +5,16 @@
<div class="card-deck"> <div class="card-deck">
{{ range $.Site.Data.fontawesomeicons }} {{ range $.Site.Data.fontawesomeicons }}
<div class="card mb-2 p-1 d-flex flex-column justify-content-around text-center" style="flex: 0 0 20%; height: 150px"> <div class="card mb-2 p-1 d-flex flex-column justify-content-around text-center" style="flex: 0 0 20%; height: 150px">
<div class="small text-truncate" data-toggle="tooltip" data-placement="bottom" title="{{ .name }}">{{ .name }}</div> <div class="small text-truncate" data-toggle="tooltip" data-placement="bottom" title="{{ .name }}">{{ .name }}</div>
<div class="row no-gutters"> <div class="row no-gutters">
<div class="col-sm-6 d-flex align-items-center justify-content-center"> <div class="col-sm-6 d-flex align-items-center justify-content-center">
<i class="fa {{ .icon }} fa-2x"></i> <i class="fa {{ .icon }} fa-2x"></i>
</div> </div>
<div class="col-sm-6 d-flex align-items-center justify-content-center"> <div class="col-sm-6 d-flex align-items-center justify-content-center">
{{ .standardicon | safeHTML }} {{ .standardicon | safeHTML }}
</div> </div>
</div> </div>
<div class="small text-truncate mb-1" title="{{ .icon }}">{{ .icon }}</div> <div class="small text-truncate mb-1" title="{{ .icon }}">{{ .icon }}</div>
</div> </div>
{{ end }} {{ end }}
</div> </div>

View File

@ -21,6 +21,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$plugin->version = 2021051100; $plugin->version = 2021052501; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2021052500; $plugin->requires = 2021052500; // Requires this Moodle version.
$plugin->component = 'tool_componentlibrary'; $plugin->component = 'tool_componentlibrary';