AssetPreview for smaller devices
This commit is contained in:
@@ -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);
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,6 +88,8 @@ video{
|
|||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.locked {
|
.locked {
|
||||||
|
|||||||
+1
-1
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user