mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-06 15:35:03 +02:00
add style comments
This commit is contained in:
parent
bf6e87d4bc
commit
a22ebb257f
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue