diff --git a/src/client/pages/instance/ads.vue b/src/client/pages/instance/ads.vue index c54c1c028..e776f99a4 100644 --- a/src/client/pages/instance/ads.vue +++ b/src/client/pages/instance/ads.vue @@ -1,43 +1,45 @@ @@ -67,6 +69,17 @@ export default defineComponent({ icon: 'fas fa-audio-description', bg: 'var(--bg)', }, + header: { + title: this.$ts.ads, + icon: 'fas fa-audio-description', + bg: 'var(--bg)', + actions: [{ + asFullButton: true, + icon: 'fas fa-plus', + text: this.$ts.add, + handler: this.add, + }], + }, ads: [], } }, diff --git a/src/client/pages/instance/announcements.vue b/src/client/pages/instance/announcements.vue index e4f7334c0..78637c095 100644 --- a/src/client/pages/instance/announcements.vue +++ b/src/client/pages/instance/announcements.vue @@ -1,24 +1,27 @@ @@ -46,6 +49,17 @@ export default defineComponent({ icon: 'fas fa-broadcast-tower', bg: 'var(--bg)', }, + header: { + title: this.$ts.announcements, + icon: 'fas fa-broadcast-tower', + bg: 'var(--bg)', + actions: [{ + asFullButton: true, + icon: 'fas fa-plus', + text: this.$ts.add, + handler: this.add, + }], + }, announcements: [], } }, diff --git a/src/client/pages/instance/index.vue b/src/client/pages/instance/index.vue index cff1c52d0..959c4be6c 100644 --- a/src/client/pages/instance/index.vue +++ b/src/client/pages/instance/index.vue @@ -235,7 +235,6 @@ export default defineComponent({ > .main { flex: 1; min-width: 0; - overflow: auto; --baseContentWidth: 100%; } }