diff --git a/layouts/partials/blocks/templates/key_figures.html b/layouts/partials/blocks/templates/key_figures.html index c4efe36b91f1fd2973cd9733b3682ddc8f6b5e2f..8e43c02fcea6ca5dc49c45f382ca3a97c736edd1 100644 --- a/layouts/partials/blocks/templates/key_figures.html +++ b/layouts/partials/blocks/templates/key_figures.html @@ -21,20 +21,22 @@ </div> {{ end -}} - {{ $list_class := "odd-items" }} - {{ if (modBool (len $figures) 2) }} - {{ $list_class = "even-items" }} - {{ end }} - <ul class="{{ $list_class }}"> - {{- range .figures }} - <li> - <dl> - <dt><strong>{{ .number }}</strong>{{ partial "PrepareHTML" .unit }}</dt> - <dd>{{ partial "PrepareHTML" .description }}</dd> - </dl> - </li> - {{ end -}} - </ul> + {{ if $figures }} + {{ $list_class := "odd-items" }} + {{ if (modBool (len $figures) 2) }} + {{ $list_class = "even-items" }} + {{ end }} + <ul class="{{ $list_class }}"> + {{- range .figures }} + <li> + <dl> + <dt><strong>{{ .number }}</strong>{{ partial "PrepareHTML" .unit }}</dt> + <dd>{{ partial "PrepareHTML" .description }}</dd> + </dl> + </li> + {{ end -}} + </ul> + {{ end -}} </div> </div> </section> diff --git a/layouts/partials/footer/debug.html b/layouts/partials/footer/debug.html index ea1cd83f29104ea280b3dc172d83da5346de2bec..bb2359ce3f2b72ccb554ac33362ed622f1486996 100644 --- a/layouts/partials/footer/debug.html +++ b/layouts/partials/footer/debug.html @@ -42,7 +42,7 @@ top: 0; left: 50%; transform: translateX(-50%); - width: calc(1920px + var(--d-grid-margin)); + width: calc(1680px + var(--d-grid-margin)); z-index: 9999; font-family: sans-serif; font-size: 12px;