diff --git a/src/App.vue b/src/App.vue index 5cedb30..30cc3ce 100644 --- a/src/App.vue +++ b/src/App.vue @@ -109,6 +109,14 @@ this.artworks.sort((a, b) => b.date.getTime() - a.date.getTime()); } + /** + * Update on resize + */ + created() + { + window.addEventListener("resize", () => this.$forceUpdate()); + } + /** * Style for title */