Add lead paragraph styling to chapter description
This commit is contained in:
parent
e422d29759
commit
a34313932f
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue