diff --git a/src/components/content.vue b/src/components/content.vue
index 25c9a8c8..c9ff08e0 100644
--- a/src/components/content.vue
+++ b/src/components/content.vue
@@ -28,14 +28,11 @@
-
-
-
-
+
@@ -60,6 +57,11 @@ export default {
sequenceindex: 0,
};
},
+ watch: {
+ fontsize() {
+ this.$refs.contentsize.style.fontSize = `${this.fontsize}px`;
+ },
+ },
methods: {
decrease() {
const min = 8;
@@ -96,6 +98,8 @@ export default {
this.content = await this.request(this.contenturl, 'text').then((data) => data);
},
mounted() {
+ this.$refs.contentsize.style.fontSize = `${this.fontsize}px`;
+
this.$root.$on('update-sequence-index', (index) => {
if (this.manifests[index].support) {
this.manifests[index].support.map(this.getSupport);