mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
enhance(client): improve usability
This commit is contained in:
parent
e098dc88b4
commit
e71f3c0fbc
@ -94,6 +94,11 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
created() {
|
||||
if (window.innerWidth < 1024) {
|
||||
localStorage.setItem('ui', 'default');
|
||||
location.reload();
|
||||
}
|
||||
|
||||
document.documentElement.style.overflowY = 'scroll';
|
||||
|
||||
if (this.$store.state.widgets.length === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user