adding latest
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user