AssetPreview for smaller devices

This commit is contained in:
2026-04-17 15:04:07 +03:00
parent caafeae0e7
commit f66c683c84
3 changed files with 3 additions and 3 deletions
@@ -275,9 +275,7 @@ export default {
resize(){ resize(){
let r = this.$refs.target; let r = this.$refs.target;
this.debug('resizing!!', r.clientWidth, r.clientHeight, r)
engine.resize(r.clientWidth, r.clientHeight); engine.resize(r.clientWidth, r.clientHeight);
//this.zoom = Math.min(r.clientWidth / this.viewBox.w, r.clientHeight / this.viewBox.h);
}, },
} }
} }
+2
View File
@@ -88,6 +88,8 @@ video{
img { img {
max-width: 100%; max-width: 100%;
} }
overflow-y: auto;
overflow-x: hidden;
} }
.locked { .locked {
+1 -1
View File
@@ -76,7 +76,7 @@ export default defineConfig({
}, },
hmr:true, hmr:true,
strictPort: true, strictPort: true,
host:'192.168.31.137', //'192.168.83.59',//'127.0.0.1',// host:'192.168.31.137', //'192.168.193.225', //'192.168.83.59',//'127.0.0.1',//
proxy:{ proxy:{
'/api': { '/api': {
target: 'https://localhost:3000', target: 'https://localhost:3000',