Add lead paragraph styling to chapter description

This commit is contained in:
Ramon Wenger 2019-07-24 11:38:47 +02:00
parent e422d29759
commit a34313932f
1 changed files with 11 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="chapter"> <div class="chapter">
<h3 :id="'chapter-' + index">{{chapter.title}}</h3> <h3 :id="'chapter-' + index">{{chapter.title}}</h3>
<p> <p class="chapter__description">
{{chapter.description}} {{chapter.description}}
</p> </p>
@ -52,3 +52,13 @@
} }
} }
</script> </script>
<style scoped lang="scss">
@import "@/styles/_mixins.scss";
.chapter {
&__description {
@include lead-paragraph;
}
}
</style>