adding latest

This commit is contained in:
2020-04-12 03:29:39 +01:00
parent 22c8bb8ed1
commit ceff5de958
2 changed files with 48 additions and 9 deletions

View File

@@ -50,13 +50,14 @@ export default {
created() {
window.addEventListener("resize", this.updateHeight);
window.addEventListener("resize", this.updateWidth);
this.querySelectorsPlayground();
},
destroyed() {
window.removeEventListener("resize", this.updateHeight);
window.addEventListener("resize", this.updateWidth);
},
mounted() {
this.getBackgroundWidth();
// this.getBackgroundWidth();
},
methods: {
updateHeight() {
@@ -68,6 +69,9 @@ export default {
getBackgroundWidth() {
var background = document.querySelector("#backgroundsvg");
this.backgroundWidth = background.clientWidth;
},
querySelectorsPlayground() {
console.log(document.images);
}
}
};
@@ -78,17 +82,13 @@ export default {
height: calc(100vh - 64px);
}
.image-wrapper {
overflow: hidden;
}
img.new-background-image {
max-height: calc(100vh - 64px);
position: absolute;
height: 100%;
max-width: 1115px;
right: 0;
// left: 500px;
// right: 0;
left: 50%;
}
.background-image {