diff --git a/client/src/components/ContentBlock.vue b/client/src/components/ContentBlock.vue index b00c39a1..77cd254f 100644 --- a/client/src/components/ContentBlock.vue +++ b/client/src/components/ContentBlock.vue @@ -134,6 +134,7 @@ isInstrumentBlock() { return !!this.contentBlock.instrumentCategory; }, + // todo: use dynamic css class with v-bind once we're on Vue 3: https://vuejs.org/api/sfc-css-features.html#v-bind-in-css instrumentStyle() { if (this.isInstrumentBlock) { return { @@ -152,6 +153,7 @@ } return ''; }, + // todo: use dynamic css class with v-bind once we're on Vue 3: https://vuejs.org/api/sfc-css-features.html#v-bind-in-css instrumentLabelStyle() { if (this.isInstrumentBlock) { return { diff --git a/client/src/components/content-blocks/InstrumentWidget.vue b/client/src/components/content-blocks/InstrumentWidget.vue index f33c8d4c..f199d9d9 100644 --- a/client/src/components/content-blocks/InstrumentWidget.vue +++ b/client/src/components/content-blocks/InstrumentWidget.vue @@ -18,6 +18,7 @@