Skip to content
Snippets Groups Projects
Commit 1a2be1e5 authored by Olivia206's avatar Olivia206
Browse files

simplify

parent ca9a4798
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@
font-size: $block-key_figures-number-font-size
font-weight: $block-key_figures-number-font-weight
margin-inline-end: 0.1em
img
display: block
margin-bottom: $spacing0
@include media-breakpoint-up(desktop)
font-size: $block-key_figures-font-size-desktop
strong
......@@ -47,10 +50,6 @@
margin-left: 0
dt + dd
margin-top: $spacing0
.with-image
dt
img
display: block
@include media-breakpoint-down(desktop)
li + li
......
......@@ -22,6 +22,9 @@
<li>
<dl>
<dt>
{{ with .image }}
{{ partial "commons/image.html" (dict "image" .) }}
{{ end }}
<strong>{{ .number }}</strong>{{ partial "PrepareHTML" .unit }}
</dt>
<dd>{{ partial "PrepareHTML" .description }}</dd>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment