MDL-61460 tool_componentlibrary: removed white space.
[moodle.git] / admin / tool / componentlibrary / hugo / site / layouts / shortcodes / moodleicons.html
CommitLineData
3de68ad4
BB
1{{- /*
2 Usage: `moodleicons`
3*/ -}}
4
5<div class="card-deck">
6 {{ range $.Site.Data.fontawesomeicons }}
7 <div class="card mb-2 p-1 d-flex flex-column justify-content-around text-center" style="flex: 0 0 20%; height: 150px">
f03a7146 8 <div class="small text-truncate" data-toggle="tooltip" data-placement="bottom" title="{{ .name }}">{{ .name }}</div>
3de68ad4 9 <div class="row no-gutters">
f03a7146
AG
10 <div class="col-sm-6 d-flex align-items-center justify-content-center">
11 <i class="fa {{ .icon }} fa-2x"></i>
12 </div>
13 <div class="col-sm-6 d-flex align-items-center justify-content-center">
14 {{ .standardicon | safeHTML }}
15 </div>
3de68ad4 16 </div>
f03a7146 17 <div class="small text-truncate mb-1" title="{{ .icon }}">{{ .icon }}</div>
3de68ad4
BB
18 </div>
19 {{ end }}
20</div>