add style comments

This commit is contained in:
jmt-gh 2022-07-08 20:45:09 -07:00
parent bf6e87d4bc
commit a22ebb257f

View File

@ -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
} }