mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
add style comments
This commit is contained in:
parent
bf6e87d4bc
commit
a22ebb257f
@ -53,6 +53,12 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
/*
|
||||||
|
1. we need to manually define styles to apply to the parsed markdown elements,
|
||||||
|
since we don't have access to the actual elements in this component
|
||||||
|
|
||||||
|
2. v-deep allows these to take effect on the content passed in to the v-html in the div above
|
||||||
|
*/
|
||||||
.custom-text ::v-deep > h2 {
|
.custom-text ::v-deep > h2 {
|
||||||
@apply text-lg font-bold
|
@apply text-lg font-bold
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user