mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
feat: new-card-design (#196)
* card option 1 * UI updates for item card * fix test error * fix pagination issues on backend * add integer support * remove date from cards * implement pagination for search page * resolve search state problems * other fixes * fix broken datetime * attempt to fix scroll behavior
This commit is contained in:
7
frontend/plugins/scroll.client.ts
Normal file
7
frontend/plugins/scroll.client.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export default defineNuxtPlugin(nuxtApp => {
|
||||
nuxtApp.hook("page:finish", () => {
|
||||
console.log(document.body);
|
||||
document.body.scrollTo({ top: 0 });
|
||||
console.log("page:finish");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user