Apply requested changes

This commit is contained in:
BernatBC 2024-02-12 17:58:02 +01:00
parent 0b0d14a6be
commit d3f0f62748
3 changed files with 12 additions and 4 deletions

View file

@ -129,6 +129,12 @@
margin-bottom: 0;
}
}
.custom-section {
.custom-content {
padding-bottom: 0.5em;
}
}
}
}
}

View file

@ -107,9 +107,10 @@
</div>
{{ end }}
{{ if .custonSections }}
<div class="extracurricular-activities">
<div class="custom-section">
{{ range .custonSections }}
<h6><span class="text-heading">{{ .name }}: </span><span>{{ .content }}</span></h6>
<h6 class="text-heading">{{ .name }}: </h6>
<div class="custom-content">{{ .content | markdownify }}</div>
{{ end }}
</div>
{{ end }}

View file

@ -107,9 +107,10 @@
</div>
{{ end }}
{{ if .custonSections }}
<div class="extracurricular-activities">
<div class="custom-section">
{{ range .custonSections }}
<h6><span class="text-heading">{{ .name }}: </span><span>{{ .content }}</span></h6>
<h6 class="text-heading">{{ .name }}: </h6>
<div class="custom-content">{{ .content | markdownify }}</div>
{{ end }}
</div>
{{ end }}