Fix margin when objectives are empty

Resolves MS-572
This commit is contained in:
Ramon Wenger 2022-09-21 11:37:57 +02:00
parent 8c187698be
commit 1b28e14839
1 changed files with 5 additions and 2 deletions

View File

@ -40,13 +40,16 @@
</div> </div>
<h3 <h3
v-if="$flavor.showObjectivesTitle" v-if="$flavor.showObjectivesTitle && module.objectiveGroups.length"
id="objectives" id="objectives"
> >
<span>Lernziele</span> <span>Lernziele</span>
</h3> </h3>
<div class="module__objective-groups"> <div
class="module__objective-groups"
v-if="module.objectiveGroups.length"
>
<objective-groups :groups="languageCommunicationObjectiveGroups" /> <objective-groups :groups="languageCommunicationObjectiveGroups" />
<objective-groups :groups="societyObjectiveGroups" /> <objective-groups :groups="societyObjectiveGroups" />