From a22ebb257fea320a4974d33f6cf9f22d336987c4 Mon Sep 17 00:00:00 2001 From: jmt-gh <13617455+jmt-gh@users.noreply.github.com> Date: Fri, 8 Jul 2022 20:45:09 -0700 Subject: [PATCH] add style comments --- client/components/modals/changelog/ViewModal.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/components/modals/changelog/ViewModal.vue b/client/components/modals/changelog/ViewModal.vue index 5525bab3..8fd6551a 100644 --- a/client/components/modals/changelog/ViewModal.vue +++ b/client/components/modals/changelog/ViewModal.vue @@ -53,6 +53,12 @@ export default { } </script> <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 { @apply text-lg font-bold }