WIP(faq): hack background to white

This commit is contained in:
SabreCat
2023-06-02 14:58:16 -05:00
parent 09695f637e
commit 302eabb30f
2 changed files with 7 additions and 0 deletions

View File

@@ -469,6 +469,7 @@ export default {
this.$store.dispatch('common:setTitle', { this.$store.dispatch('common:setTitle', {
subSection: this.$t('chat-sunset-faq'), subSection: this.$t('chat-sunset-faq'),
}); });
document.body.style.background = '#ffffff';
}, },
}; };
</script> </script>

View File

@@ -513,4 +513,10 @@ router.beforeEach(async (to, from, next) => {
return next(); return next();
}); });
router.afterEach((to, from) => {
if (from.name === 'chatSunsetFaq') {
document.body.style.background = '#f9f9f9';
}
});
export default router; export default router;